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.001466/0.001466, allocations: 84.3 kB / 20.68 MB, free: 1.035 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.001712/0.001712, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.618/1.618, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.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.1791/0.1791, allocations: 29.43 MB / 290.1 MB, free: 3.266 MB / 270.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: translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.649e-05, allocations: 6.219 kB / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.00476/0.004786, allocations: 3.414 MB / 434.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002191/0.006978, allocations: 1.375 MB / 435.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.007078, allocations: 7.938 kB / 435.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007955/0.007873, allocations: 258.9 kB / 435.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000603/0.008476, allocations: 282.6 kB / 436 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.008773, allocations: 111.5 kB / 436.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004146/0.009188, allocations: 338.9 kB / 436.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002577/0.009446, allocations: 114.1 kB / 436.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003651/0.009811, allocations: 211.3 kB / 436.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003219/0.01013, allocations: 143.6 kB / 436.9 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.01017, allocations: 16 kB / 436.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004527/0.01062, allocations: 271 kB / 437.2 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.01075, allocations: 107.8 kB / 437.3 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.01087, allocations: 75.77 kB / 437.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.01137, allocations: 355 kB / 437.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.01138, allocations: 4 kB / 437.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01138, allocations: 0 / 437.7 MB, free: 10.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.01139, allocations: 8 kB / 437.8 MB, free: 10.86 MB / 366.1 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.0006914/0.01208, allocations: 437 kB / 438.2 MB, free: 10.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.01212, allocations: 19.92 kB / 438.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008408/0.01296, allocations: 92.69 kB / 438.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/0.01329, allocations: 198 kB / 438.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.01331, allocations: 12.38 kB / 438.5 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.01336, allocations: 24.38 kB / 438.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005103/0.01387, allocations: 315.3 kB / 438.8 MB, free: 9.711 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.01388, allocations: 3.938 kB / 438.8 MB, free: 9.707 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.01391, allocations: 11.94 kB / 438.8 MB, free: 9.695 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/0.01395, allocations: 19.98 kB / 438.9 MB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004621/0.01441, allocations: 287.7 kB / 439.1 MB, free: 9.395 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.01614, allocations: 1.166 MB / 440.3 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006841/0.01682, allocations: 201.2 kB / 440.5 MB, free: 7.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.01693, allocations: 53.83 kB / 440.6 MB, free: 7.871 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.01696, allocations: 224 / 440.6 MB, free: 7.871 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.01699, allocations: 46.48 kB / 440.6 MB, free: 7.816 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 3.387e-06/0.017, allocations: 3.984 kB / 440.6 MB, free: 7.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009485/0.01795, allocations: 357.6 kB / 441 MB, free: 7.453 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.018, allocations: 81.11 kB / 441 MB, free: 7.355 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.01819, allocations: 195.4 kB / 441.2 MB, free: 7.152 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.01822, allocations: 29.7 kB / 441.3 MB, free: 7.117 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.01834, allocations: 160.2 kB / 441.4 MB, free: 6.957 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.01838, allocations: 51.53 kB / 441.5 MB, free: 6.906 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.01845, allocations: 45.7 kB / 441.5 MB, free: 6.855 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.01862, allocations: 322.8 kB / 441.8 MB, free: 6.531 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.549e-05/0.01871, allocations: 55.97 kB / 441.9 MB, free: 6.477 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.01889, allocations: 148.8 kB / 442 MB, free: 6.285 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.01921, allocations: 236.6 kB / 442.3 MB, free: 6.008 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.01921, allocations: 3.984 kB / 442.3 MB, free: 6.004 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004908/0.0197, allocations: 258 kB / 442.5 MB, free: 5.742 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.01971, allocations: 4.438 kB / 442.5 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.01972, allocations: 8 kB / 442.5 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000239/0.01996, allocations: 40.83 kB / 442.6 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.02012, allocations: 43.92 kB / 442.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.02148, allocations: 1.307 MB / 443.9 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.0216, allocations: 8.156 kB / 443.9 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.02162, allocations: 16 kB / 443.9 MB, free: 4.211 MB / 366.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): 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.0001695/0.02179, allocations: 157.7 kB / 444.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.598e-05/0.02184, allocations: 19.84 kB / 444.1 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004131/0.02225, allocations: 187.9 kB / 444.3 MB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.02226, allocations: 7.938 kB / 444.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.02226, allocations: 0 / 444.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.02226, allocations: 0 / 444.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008461/0.02311, allocations: 493.3 kB / 444.8 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.02311, allocations: 4 kB / 444.8 MB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.35e-05/0.02321, allocations: 19.94 kB / 444.8 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001468/0.02335, allocations: 28.83 kB / 444.8 MB, free: 3.242 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.02337, allocations: 11.98 kB / 444.8 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001227/0.0246, allocations: 1.307 MB / 446.2 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.0246, allocations: 0 / 446.2 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.02501, allocations: 291.6 kB / 446.4 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.271e-05/0.02505, allocations: 23.83 kB / 446.5 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.02507, allocations: 8 kB / 446.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.02518, allocations: 0 / 446.5 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.02521, allocations: 20.05 kB / 446.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.02523, allocations: 8 kB / 446.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.02536, allocations: 133.2 kB / 446.6 MB, free: 1.316 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02536, allocations: 0 / 446.6 MB, free: 1.316 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003638/0.02572, allocations: 48 kB / 446.7 MB, free: 1.27 MB / 366.1 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.000129/0.02585, allocations: 107.1 kB / 446.8 MB, free: 1.156 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005317/0.02638, allocations: 260.1 kB / 447 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.02638, allocations: 0 / 447 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002685/0.02665, allocations: 170.6 kB / 447.2 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.02703, allocations: 33.75 kB / 447.2 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000795/0.02782, allocations: 433.9 kB / 447.7 MB, free: 228 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.028, allocations: 155.8 kB / 447.8 MB, free: 48 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.02814, allocations: 45.44 kB / 447.8 MB, free: 4 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1725/0.2007, allocations: 14.25 kB / 447.9 MB, free: 29.66 MB / 366.1 MB Notification: Performance of SimCode: time 1.383e-06/0.2007, allocations: 0.8125 kB / 447.9 MB, free: 29.66 MB / 366.1 MB Notification: Performance of Templates: time 0.006209/0.2069, allocations: 1.589 MB / 449.5 MB, free: 29.61 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile [Timeout 660] (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 & ./PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.883757457137108] Failed to read output from testmodel.py, exit status != 0: 0.21536237373948097 0.23639452200000002 0.22082241400000002 Calling exit ...