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.001515/0.001515, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001645/0.001645, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.548/1.548, allocations: 230.6 MB / 257.5 MB, free: 7.84 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.1856/0.1856, allocations: 38.56 MB / 352.5 MB, free: 12.33 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: 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: 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.002462/0.002462, allocations: 75.89 kB / 493 MB, free: 4.234 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3852, allocations: 62.48 MB / 0.5424 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005099/0.3903, allocations: 3.417 MB / 0.5458 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002652/0.3929, allocations: 1.375 MB / 0.5471 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.3931, allocations: 12.19 kB / 0.5471 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.3942, allocations: 253 kB / 0.5474 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008668/0.395, allocations: 281.9 kB / 0.5476 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.3954, allocations: 110.6 kB / 0.5477 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004776/0.3959, allocations: 332.4 kB / 0.548 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000311/0.3962, allocations: 120.5 kB / 0.5482 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003289/0.3965, allocations: 168.1 kB / 0.5483 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.3968, allocations: 148.7 kB / 0.5485 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.3969, allocations: 14.53 kB / 0.5485 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005863/0.3975, allocations: 268.6 kB / 0.5487 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.3976, allocations: 102 kB / 0.5488 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.3978, allocations: 90.08 kB / 0.5489 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007527/0.3985, allocations: 340.9 kB / 0.5492 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3986, allocations: 0 / 0.5492 GB, free: 11.35 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3986, allocations: 5.125 kB / 0.5492 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.3986, allocations: 7.875 kB / 0.5493 GB, free: 11.34 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008475/0.3994, allocations: 446.5 kB / 0.5497 GB, free: 10.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.3995, allocations: 13.55 kB / 0.5497 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009332/0.4004, allocations: 92.09 kB / 0.5498 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.4008, allocations: 205.2 kB / 0.55 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.4008, allocations: 16.5 kB / 0.55 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.999e-05/0.4009, allocations: 24.38 kB / 0.55 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000605/0.4015, allocations: 316.8 kB / 0.5503 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.4015, allocations: 1.219 kB / 0.5503 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.4016, allocations: 6.531 kB / 0.5503 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-05/0.4016, allocations: 20.83 kB / 0.5503 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005251/0.4021, allocations: 285.1 kB / 0.5506 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001986/0.4041, allocations: 1.172 MB / 0.5518 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006213/0.4047, allocations: 199.1 kB / 0.552 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.507e-05/0.4048, allocations: 49.05 kB / 0.552 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.4049, allocations: 6.359 kB / 0.552 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.4049, allocations: 40.66 kB / 0.552 GB, free: 9.117 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 2.064e-06/0.4049, allocations: 0 / 0.552 GB, free: 9.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001112/0.406, allocations: 362 kB / 0.5524 GB, free: 8.902 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.795e-05/0.4061, allocations: 83.31 kB / 0.5525 GB, free: 8.805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.4063, allocations: 195.3 kB / 0.5527 GB, free: 8.648 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.722e-05/0.4064, allocations: 30.98 kB / 0.5527 GB, free: 8.613 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.4065, allocations: 163.4 kB / 0.5528 GB, free: 8.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.118e-05/0.4066, allocations: 50.84 kB / 0.5529 GB, free: 8.418 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.4e-05/0.4067, allocations: 42.08 kB / 0.5529 GB, free: 8.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.4068, allocations: 331.3 kB / 0.5532 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.831e-05/0.4069, allocations: 52.84 kB / 0.5533 GB, free: 8.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.4071, allocations: 149.2 kB / 0.5534 GB, free: 7.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.4074, allocations: 234.8 kB / 0.5537 GB, free: 7.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.4074, allocations: 5.094 kB / 0.5537 GB, free: 7.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004752/0.4079, allocations: 255.9 kB / 0.5539 GB, free: 7.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.4079, allocations: 11.06 kB / 0.5539 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.4079, allocations: 3.438 kB / 0.5539 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002593/0.4082, allocations: 38.17 kB / 0.554 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.4083, allocations: 44.45 kB / 0.554 GB, free: 7.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.4098, allocations: 1.311 MB / 0.5553 GB, free: 6.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.41, allocations: 12.75 kB / 0.5553 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.41, allocations: 14.25 kB / 0.5553 GB, free: 6.184 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): 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.0002/0.4102, allocations: 157.3 kB / 0.5555 GB, free: 6.039 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.4102, allocations: 15.06 kB / 0.5555 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004314/0.4107, allocations: 188.6 kB / 0.5557 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.4107, allocations: 2.281 kB / 0.5557 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4107, allocations: 1.031 kB / 0.5557 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4107, allocations: 1.094 kB / 0.5557 GB, free: 5.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009193/0.4116, allocations: 497.5 kB / 0.5561 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4116, allocations: 0.9688 kB / 0.5561 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.285e-05/0.4117, allocations: 24.27 kB / 0.5562 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001474/0.4118, allocations: 32.05 kB / 0.5562 GB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.4119, allocations: 10.23 kB / 0.5562 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.4131, allocations: 1.299 MB / 0.5575 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.4131, allocations: 6.266 kB / 0.5575 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004721/0.4136, allocations: 306.9 kB / 0.5578 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.4137, allocations: 15.91 kB / 0.5578 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.4137, allocations: 4 kB / 0.5578 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.4138, allocations: 8.156 kB / 0.5578 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.4138, allocations: 15.97 kB / 0.5578 GB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.4139, allocations: 4 kB / 0.5578 GB, free: 3.801 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001287/0.414, allocations: 137.2 kB / 0.5579 GB, free: 3.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.414, allocations: 0 / 0.5579 GB, free: 3.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004087/0.4144, allocations: 48 kB / 0.558 GB, free: 3.621 MB / 398.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.000123/0.4145, allocations: 103.1 kB / 0.5581 GB, free: 3.508 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005356/0.415, allocations: 258.6 kB / 0.5583 GB, free: 3.242 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4151, allocations: 7.938 kB / 0.5583 GB, free: 3.234 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.4153, allocations: 174.5 kB / 0.5585 GB, free: 3.051 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.4157, allocations: 27.97 kB / 0.5585 GB, free: 3.023 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009054/0.4166, allocations: 456.5 kB / 0.559 GB, free: 2.539 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.4168, allocations: 151.9 kB / 0.5591 GB, free: 2.367 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001183/0.4169, allocations: 45.44 kB / 0.5592 GB, free: 2.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.583e-05/0.417, allocations: 15.44 kB / 0.5592 GB, free: 2.305 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.417, allocations: 0 / 0.5592 GB, free: 2.305 MB / 398.1 MB Notification: Performance of Templates: time 0.006165/0.4231, allocations: 1.834 MB / 0.561 GB, free: 500 kB / 398.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: 5.199273256585002] Failed to read output from testmodel.py, exit status != 0: 0.4324159789830446 0.450106419 0.047813601000000004 Calling exit ...