Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.0009782/0.0009782, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001174/0.001174, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8836/0.8836, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.2287/0.2287, allocations: 29.4 MB / 290.1 MB, free: 2.457 MB / 266.7 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.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.315e-05, allocations: 3.547 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003456/0.003479, allocations: 3.408 MB / 433.6 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.005104, allocations: 1.387 MB / 435 MB, free: 8.785 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.005231, allocations: 7.938 kB / 435 MB, free: 8.777 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005731/0.005804, allocations: 251 kB / 435.2 MB, free: 8.531 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004946/0.006298, allocations: 286.5 kB / 435.5 MB, free: 8.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.006544, allocations: 111.5 kB / 435.6 MB, free: 8.141 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003553/0.006899, allocations: 346.9 kB / 436 MB, free: 7.801 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002632/0.007162, allocations: 114.1 kB / 436.1 MB, free: 7.691 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003103/0.007473, allocations: 203.4 kB / 436.3 MB, free: 7.492 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.007672, allocations: 155.5 kB / 436.4 MB, free: 7.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.007693, allocations: 12 kB / 436.4 MB, free: 7.328 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003335/0.008027, allocations: 267.1 kB / 436.7 MB, free: 7.066 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.487e-05/0.008121, allocations: 115.6 kB / 436.8 MB, free: 6.953 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.678e-05/0.008188, allocations: 67.84 kB / 436.9 MB, free: 6.887 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.008591, allocations: 359 kB / 437.2 MB, free: 6.535 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.008594, allocations: 0 / 437.2 MB, free: 6.535 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.008595, allocations: 4 kB / 437.2 MB, free: 6.531 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.008601, allocations: 0 / 437.2 MB, free: 6.531 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005352/0.009136, allocations: 457 kB / 437.7 MB, free: 6.055 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.009174, allocations: 11.98 kB / 437.7 MB, free: 6.043 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.993e-05/0.009214, allocations: 50.73 kB / 437.7 MB, free: 5.984 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000495/0.009709, allocations: 92.69 kB / 437.8 MB, free: 5.895 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.009968, allocations: 217.9 kB / 438 MB, free: 5.656 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.009982, allocations: 8.375 kB / 438.1 MB, free: 5.648 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.01002, allocations: 16.38 kB / 438.1 MB, free: 5.633 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003348/0.01035, allocations: 319.1 kB / 438.4 MB, free: 5.297 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.01037, allocations: 7.938 kB / 438.4 MB, free: 5.289 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.01038, allocations: 4 kB / 438.4 MB, free: 5.285 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.01041, allocations: 15.98 kB / 438.4 MB, free: 5.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002717/0.01068, allocations: 287.8 kB / 438.7 MB, free: 4.988 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.01172, allocations: 1.205 MB / 439.9 MB, free: 3.688 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.01207, allocations: 209.1 kB / 440.1 MB, free: 3.465 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.645e-05/0.01213, allocations: 49.77 kB / 440.1 MB, free: 3.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.01215, allocations: 4 kB / 440.2 MB, free: 3.406 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.01217, allocations: 38.5 kB / 440.2 MB, free: 3.359 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.01217, allocations: 0 / 440.2 MB, free: 3.359 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006362/0.01281, allocations: 353.7 kB / 440.5 MB, free: 3.004 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.01284, allocations: 77.11 kB / 440.6 MB, free: 2.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.01297, allocations: 206.2 kB / 440.8 MB, free: 2.699 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.01299, allocations: 25.92 kB / 440.8 MB, free: 2.668 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003376/0.01332, allocations: 168 kB / 441 MB, free: 2.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.01335, allocations: 55.5 kB / 441.1 MB, free: 2.445 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.0134, allocations: 45.7 kB / 441.1 MB, free: 2.395 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.399e-05/0.01347, allocations: 322.8 kB / 441.4 MB, free: 2.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.923e-05/0.01353, allocations: 56.08 kB / 441.5 MB, free: 2.016 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.473e-05/0.01363, allocations: 148.8 kB / 441.6 MB, free: 1.824 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.01381, allocations: 236.6 kB / 441.8 MB, free: 1.547 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01381, allocations: 0 / 441.8 MB, free: 1.547 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000287/0.01409, allocations: 271 kB / 442.1 MB, free: 1.273 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.01411, allocations: 10.91 kB / 442.1 MB, free: 1.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.01412, allocations: 11.98 kB / 442.1 MB, free: 1.254 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000158/0.01428, allocations: 40.77 kB / 442.2 MB, free: 1.211 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.484e-05/0.01436, allocations: 35.98 kB / 442.2 MB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1516/0.166, allocations: 1.331 MB / 443.5 MB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.1661, allocations: 9.469 kB / 443.5 MB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.1661, allocations: 11.59 kB / 443.6 MB, free: 53.38 MB / 410.7 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): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.1662, allocations: 152.3 kB / 443.7 MB, free: 53.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.1663, allocations: 19.34 kB / 443.7 MB, free: 53.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.1665, allocations: 197.1 kB / 443.9 MB, free: 53.22 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1665, allocations: 0 / 443.9 MB, free: 53.22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.1665, allocations: 5.938 kB / 443.9 MB, free: 53.22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1665, allocations: 1.5 kB / 443.9 MB, free: 53.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004253/0.1669, allocations: 0.5193 MB / 444.4 MB, free: 52.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.1669, allocations: 0 / 444.4 MB, free: 52.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.415e-05/0.167, allocations: 23.48 kB / 444.5 MB, free: 52.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.678e-05/0.1671, allocations: 32.02 kB / 444.5 MB, free: 52.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1671, allocations: 10.53 kB / 444.5 MB, free: 52.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003894/0.1675, allocations: 1.321 MB / 445.8 MB, free: 51.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1675, allocations: 2.531 kB / 445.8 MB, free: 51.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001762/0.1676, allocations: 295.5 kB / 446.1 MB, free: 51.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.1677, allocations: 17.19 kB / 446.1 MB, free: 51.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.1677, allocations: 3 kB / 446.1 MB, free: 51.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.527e-05/0.1677, allocations: 6.969 kB / 446.2 MB, free: 51.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.1677, allocations: 13.05 kB / 446.2 MB, free: 51.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.1678, allocations: 9.984 kB / 446.2 MB, free: 51.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.701e-05/0.1678, allocations: 142.4 kB / 446.3 MB, free: 51.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1678, allocations: 1.781 kB / 446.3 MB, free: 51.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002254/0.168, allocations: 58.88 kB / 446.4 MB, free: 51.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (14): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002638/0.1683, allocations: 0.8172 MB / 447.2 MB, free: 50.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002777/0.1686, allocations: 266 kB / 447.4 MB, free: 50.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1686, allocations: 0 / 447.4 MB, free: 50.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.863e-05/0.1687, allocations: 178.5 kB / 447.6 MB, free: 50.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.1689, allocations: 34.7 kB / 447.7 MB, free: 50.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.1703, allocations: 2.358 MB / 450 MB, free: 48.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.262e-05/0.1704, allocations: 149.5 kB / 450.2 MB, free: 48.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.744e-05/0.1704, allocations: 37.27 kB / 450.2 MB, free: 48.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.42e-05/0.1705, allocations: 60.72 kB / 450.3 MB, free: 48.55 MB / 410.7 MB Notification: Performance of SimCode: time 6.42e-07/0.1705, allocations: 0 / 450.3 MB, free: 48.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.1873, allocations: 4.605 MB / 454.9 MB, free: 47.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.797/6.985, allocations: 7.969 kB / 454.9 MB, free: 47.48 MB / 410.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.800979451276362] Failed to read output from testmodel.py, exit status != 0: 7.068823927082121 7.076424018 7.066342565 Calling exit ...