Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 115.8 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 216.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1848/0.1848, allocations: 38.53 MB / 352.5 MB, free: 12.54 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 67.89 kB / 492.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3022, allocations: 62.46 MB / 0.542 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.006971/0.3092, allocations: 4.234 MB / 0.5461 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.3109, allocations: 0.9412 MB / 0.5471 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.3111, allocations: 18.62 kB / 0.5471 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002037/0.3113, allocations: 48.19 kB / 0.5471 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005181/0.3118, allocations: 178.4 kB / 0.5473 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.312, allocations: 100.4 kB / 0.5474 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005456/0.3126, allocations: 398.7 kB / 0.5478 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.3128, allocations: 78.8 kB / 0.5478 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003484/0.3131, allocations: 188.2 kB / 0.548 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003559/0.3135, allocations: 195 kB / 0.5482 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.967e-05/0.3135, allocations: 18.81 kB / 0.5482 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.919e-05/0.3136, allocations: 19.56 kB / 0.5482 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.3137, allocations: 92.78 kB / 0.5483 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.3139, allocations: 143.6 kB / 0.5485 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004024/0.3143, allocations: 288.7 kB / 0.5487 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3143, allocations: 0 / 0.5487 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3143, allocations: 1.469 kB / 0.5487 GB, free: 11.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.3143, allocations: 0 / 0.5487 GB, free: 11.42 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001058/0.3153, allocations: 0.5309 MB / 0.5493 GB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.3154, allocations: 18.52 kB / 0.5493 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.777e-05/0.3155, allocations: 58.27 kB / 0.5493 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.3155, allocations: 31.22 kB / 0.5494 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/0.316, allocations: 275.1 kB / 0.5496 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.3161, allocations: 21.69 kB / 0.5496 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/0.3161, allocations: 18.53 kB / 0.5497 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004455/0.3166, allocations: 297 kB / 0.5499 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3166, allocations: 3.938 kB / 0.55 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.3166, allocations: 8.312 kB / 0.55 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.3166, allocations: 4.75 kB / 0.55 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.3169, allocations: 178.2 kB / 0.5501 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.3184, allocations: 1.196 MB / 0.5513 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.3186, allocations: 106.3 kB / 0.5514 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.868e-05/0.3187, allocations: 42.3 kB / 0.5514 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.3187, allocations: 1.344 kB / 0.5514 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.3188, allocations: 43.61 kB / 0.5515 GB, free: 9.047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.3188, allocations: 0 / 0.5515 GB, free: 9.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008028/0.3196, allocations: 412.4 kB / 0.5519 GB, free: 8.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.3196, allocations: 79.83 kB / 0.552 GB, free: 8.637 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002476/0.3199, allocations: 246.4 kB / 0.5522 GB, free: 8.465 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.3199, allocations: 31.73 kB / 0.5522 GB, free: 8.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.3201, allocations: 201.1 kB / 0.5524 GB, free: 8.246 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.3201, allocations: 44.08 kB / 0.5525 GB, free: 8.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.299e-05/0.3202, allocations: 44.59 kB / 0.5525 GB, free: 8.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.3203, allocations: 336.2 kB / 0.5528 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.931e-05/0.3204, allocations: 36.14 kB / 0.5529 GB, free: 7.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.3205, allocations: 131.8 kB / 0.553 GB, free: 7.676 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.3208, allocations: 193.3 kB / 0.5532 GB, free: 7.492 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3208, allocations: 5.719 kB / 0.5532 GB, free: 7.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003318/0.3211, allocations: 209.2 kB / 0.5534 GB, free: 7.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3211, allocations: 6.719 kB / 0.5534 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3211, allocations: 6.812 kB / 0.5534 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.3212, allocations: 4.281 kB / 0.5534 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.3213, allocations: 43.39 kB / 0.5534 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.3213, allocations: 8.484 kB / 0.5534 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.3214, allocations: 12.12 kB / 0.5534 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.3215, allocations: 8.125 kB / 0.5535 GB, free: 7.344 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001523/0.3216, allocations: 157.4 kB / 0.5536 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.3217, allocations: 25.98 kB / 0.5536 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.3219, allocations: 129.7 kB / 0.5538 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3219, allocations: 2.094 kB / 0.5538 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3219, allocations: 1.062 kB / 0.5538 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.3219, allocations: 3.938 kB / 0.5538 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005898/0.3225, allocations: 453.4 kB / 0.5542 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3225, allocations: 1 kB / 0.5542 GB, free: 6.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.3226, allocations: 26.73 kB / 0.5542 GB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.3226, allocations: 5.219 kB / 0.5542 GB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.3227, allocations: 5.094 kB / 0.5542 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.3227, allocations: 2.375 kB / 0.5542 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3227, allocations: 0 / 0.5542 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.323, allocations: 286.9 kB / 0.5545 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.3231, allocations: 25.59 kB / 0.5545 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.3231, allocations: 10.12 kB / 0.5545 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3232, allocations: 1.156 kB / 0.5545 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.3232, allocations: 7.484 kB / 0.5545 GB, free: 6.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.3232, allocations: 11.16 kB / 0.5546 GB, free: 6.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001615/0.3234, allocations: 174.4 kB / 0.5547 GB, free: 6.285 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3234, allocations: 0 / 0.5547 GB, free: 6.285 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000321/0.3237, allocations: 43.38 kB / 0.5548 GB, free: 6.281 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006285/0.3244, allocations: 0.8084 MB / 0.5556 GB, free: 5.531 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.3246, allocations: 117.5 kB / 0.5557 GB, free: 5.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3246, allocations: 0 / 0.5557 GB, free: 5.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.521e-05/0.3247, allocations: 39.83 kB / 0.5557 GB, free: 5.461 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.3251, allocations: 58.64 kB / 0.5558 GB, free: 5.434 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.3279, allocations: 2.457 MB / 0.5582 GB, free: 3.391 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000413/0.3283, allocations: 0.7672 MB / 0.5589 GB, free: 2.602 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.3285, allocations: 34.27 kB / 0.5589 GB, free: 2.566 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.3286, allocations: 83.41 kB / 0.559 GB, free: 2.484 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3286, allocations: 4 kB / 0.559 GB, free: 2.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03372/0.3623, allocations: 4.845 MB / 0.5638 GB, free: 13.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.83, allocations: 6.906 kB / 0.5638 GB, free: 13.77 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.516265390906483] Failed to read output from testmodel.py, exit status != 0: 11.934725970029831 11.952501294 11.634772558 Calling exit ...