Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.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.00141/0.00141, 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.001766/0.001766, allocations: 205.3 kB / 23.72 MB, free: 4.418 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.508/1.508, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.1876/0.1876, allocations: 38.55 MB / 352.5 MB, free: 12.3 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.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest") [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.00216/0.00216, allocations: 67.89 kB / 493 MB, free: 4.195 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3847, allocations: 62.46 MB / 0.5424 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.00665/0.3914, allocations: 3.314 MB / 0.5457 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.3939, allocations: 1.17 MB / 0.5468 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.3941, allocations: 9.375 kB / 0.5468 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007356/0.3948, allocations: 163.1 kB / 0.547 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005683/0.3954, allocations: 182.4 kB / 0.5471 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003873/0.3958, allocations: 130.9 kB / 0.5473 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004398/0.3962, allocations: 289.5 kB / 0.5475 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00035/0.3966, allocations: 107.1 kB / 0.5476 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003234/0.3969, allocations: 136.3 kB / 0.5478 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.3972, allocations: 107.2 kB / 0.5479 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.3972, allocations: 13.09 kB / 0.5479 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004116/0.3976, allocations: 187.8 kB / 0.5481 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.3977, allocations: 66.75 kB / 0.5481 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.3978, allocations: 85.5 kB / 0.5482 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000507/0.3983, allocations: 283.9 kB / 0.5485 GB, free: 11.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3983, allocations: 0 / 0.5485 GB, free: 11.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3983, allocations: 0 / 0.5485 GB, free: 11.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.3984, allocations: 1.469 kB / 0.5485 GB, free: 11.85 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008236/0.3992, allocations: 443.9 kB / 0.5489 GB, free: 11.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.3992, allocations: 13.17 kB / 0.5489 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007582/0.4, allocations: 77.31 kB / 0.549 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.4004, allocations: 206 kB / 0.5492 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.4004, allocations: 11.61 kB / 0.5492 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.488e-05/0.4005, allocations: 14.72 kB / 0.5492 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005157/0.401, allocations: 272.5 kB / 0.5495 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.401, allocations: 1.219 kB / 0.5495 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.401, allocations: 5.438 kB / 0.5495 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.951e-05/0.4011, allocations: 20 kB / 0.5495 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004005/0.4015, allocations: 214.4 kB / 0.5497 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.4033, allocations: 1.063 MB / 0.5507 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.4036, allocations: 128.4 kB / 0.5509 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.075e-05/0.4036, allocations: 42.7 kB / 0.5509 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.4037, allocations: 6.094 kB / 0.5509 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.4037, allocations: 40.69 kB / 0.5509 GB, free: 9.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.4037, allocations: 0 / 0.5509 GB, free: 9.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004075/0.4041, allocations: 166.5 kB / 0.5511 GB, free: 9.691 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.4042, allocations: 87.22 kB / 0.5512 GB, free: 9.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.4044, allocations: 193.2 kB / 0.5514 GB, free: 9.434 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.4044, allocations: 26.83 kB / 0.5514 GB, free: 9.402 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.4046, allocations: 158.8 kB / 0.5515 GB, free: 9.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.457e-05/0.4046, allocations: 41.39 kB / 0.5516 GB, free: 9.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-05/0.4047, allocations: 47.91 kB / 0.5516 GB, free: 9.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4049, allocations: 327.5 kB / 0.5519 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-05/0.405, allocations: 47 kB / 0.552 GB, free: 8.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.4051, allocations: 126.6 kB / 0.5521 GB, free: 8.707 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.4054, allocations: 183.4 kB / 0.5523 GB, free: 8.551 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4054, allocations: 1.625 kB / 0.5523 GB, free: 8.551 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003265/0.4057, allocations: 201.6 kB / 0.5525 GB, free: 8.438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.4057, allocations: 9.906 kB / 0.5525 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4057, allocations: 2.219 kB / 0.5525 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.4057, allocations: 4.969 kB / 0.5525 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002452/0.406, allocations: 53.06 kB / 0.5525 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.4071, allocations: 1.298 MB / 0.5538 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.4072, allocations: 17.92 kB / 0.5538 GB, free: 7.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.4073, allocations: 11.73 kB / 0.5538 GB, free: 7.086 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001533/0.4074, allocations: 143.2 kB / 0.554 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.4074, allocations: 27.36 kB / 0.554 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.4077, allocations: 138.7 kB / 0.5541 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.4077, allocations: 1.125 kB / 0.5541 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.4077, allocations: 5.031 kB / 0.5541 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4077, allocations: 1 kB / 0.5541 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006762/0.4084, allocations: 421.2 kB / 0.5545 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4084, allocations: 1.562 kB / 0.5545 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.4086, allocations: 31.42 kB / 0.5546 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.4086, allocations: 1.25 kB / 0.5546 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.4086, allocations: 2.375 kB / 0.5546 GB, free: 6.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009745/0.4096, allocations: 1.302 MB / 0.5559 GB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4096, allocations: 1.25 kB / 0.5559 GB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004242/0.41, allocations: 306.5 kB / 0.5561 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.256e-05/0.41, allocations: 17.75 kB / 0.5562 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.4101, allocations: 10.28 kB / 0.5562 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.845e-05/0.4102, allocations: 1.062 kB / 0.5562 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.4102, allocations: 20.92 kB / 0.5562 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.4102, allocations: 7.609 kB / 0.5562 GB, free: 4.855 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.4103, allocations: 129.6 kB / 0.5563 GB, free: 4.758 MB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.4103, allocations: 1.25 kB / 0.5563 GB, free: 4.758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003767/0.4107, allocations: 51.08 kB / 0.5564 GB, free: 4.746 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (inertia.w,constantTorque.phi) * 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): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001547/0.4109, allocations: 103.6 kB / 0.5565 GB, free: 4.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000384/0.4113, allocations: 130.1 kB / 0.5566 GB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4113, allocations: 0 / 0.5566 GB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.4114, allocations: 55.97 kB / 0.5567 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/0.4119, allocations: 32.38 kB / 0.5567 GB, free: 4.555 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.413, allocations: 0.5218 MB / 0.5572 GB, free: 4.152 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.4132, allocations: 132.2 kB / 0.5573 GB, free: 4.043 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.953e-05/0.4133, allocations: 35.55 kB / 0.5574 GB, free: 4.023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.4134, allocations: 16.09 kB / 0.5574 GB, free: 4.016 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4134, allocations: 0 / 0.5574 GB, free: 4.016 MB / 398.1 MB Notification: Performance of Templates: time 0.005852/0.4192, allocations: 1.599 MB / 0.5589 GB, free: 2.66 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.196356732398272] Failed to read output from testmodel.py, exit status != 0: 0.42864666134119034 0.44303717899999995 0.041433895000000005 Calling exit ...