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.001547/0.001547, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001428/0.001428, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.4/1.4, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.1887/0.1887, allocations: 38.52 MB / 353.2 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: 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.001963/0.001963, allocations: 71.89 kB / 493.8 MB, free: 4.375 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3026, allocations: 62.47 MB / 0.5432 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.004771/0.3074, allocations: 3.451 MB / 0.5466 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.3093, allocations: 1.28 MB / 0.5478 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.3094, allocations: 9.406 kB / 0.5479 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000586/0.31, allocations: 171 kB / 0.548 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004451/0.3105, allocations: 174.6 kB / 0.5482 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.3108, allocations: 135.4 kB / 0.5483 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004038/0.3112, allocations: 284.4 kB / 0.5486 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002534/0.3114, allocations: 118.1 kB / 0.5487 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002567/0.3117, allocations: 132.5 kB / 0.5488 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.3119, allocations: 118.4 kB / 0.5489 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.367e-05/0.3119, allocations: 17.69 kB / 0.549 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003657/0.3123, allocations: 231 kB / 0.5492 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.283e-05/0.3123, allocations: 66.64 kB / 0.5492 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.3124, allocations: 93.98 kB / 0.5493 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004107/0.3129, allocations: 283.3 kB / 0.5496 GB, free: 11.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3129, allocations: 1.344 kB / 0.5496 GB, free: 11.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3129, allocations: 0 / 0.5496 GB, free: 11.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3129, allocations: 0 / 0.5496 GB, free: 11.7 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.0006643/0.3135, allocations: 444.6 kB / 0.55 GB, free: 11.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.3136, allocations: 12.67 kB / 0.55 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006537/0.3142, allocations: 77.78 kB / 0.5501 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.3146, allocations: 204.9 kB / 0.5503 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.3146, allocations: 12.17 kB / 0.5503 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.3146, allocations: 15.09 kB / 0.5503 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004484/0.3151, allocations: 270.9 kB / 0.5506 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.3151, allocations: 0 / 0.5506 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.3151, allocations: 6.844 kB / 0.5506 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.058e-05/0.3151, allocations: 14.59 kB / 0.5506 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003579/0.3155, allocations: 224.7 kB / 0.5508 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.3171, allocations: 1.15 MB / 0.5519 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.3174, allocations: 126.6 kB / 0.5521 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.38e-05/0.3174, allocations: 51.58 kB / 0.5521 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.3174, allocations: 1.312 kB / 0.5521 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.3175, allocations: 40.77 kB / 0.5522 GB, free: 9.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.724e-06/0.3175, allocations: 0 / 0.5522 GB, free: 9.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.000351/0.3178, allocations: 164.1 kB / 0.5523 GB, free: 9.449 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/0.3179, allocations: 86.62 kB / 0.5524 GB, free: 9.348 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002182/0.3181, allocations: 212.2 kB / 0.5526 GB, free: 9.188 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-05/0.3182, allocations: 26.92 kB / 0.5526 GB, free: 9.156 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.3183, allocations: 158.5 kB / 0.5528 GB, free: 9.008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.76e-05/0.3183, allocations: 41.36 kB / 0.5528 GB, free: 8.973 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-05/0.3184, allocations: 39.64 kB / 0.5528 GB, free: 8.941 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3186, allocations: 328.3 kB / 0.5532 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-05/0.3187, allocations: 47.19 kB / 0.5532 GB, free: 8.594 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.3188, allocations: 121.7 kB / 0.5533 GB, free: 8.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.319, allocations: 184.6 kB / 0.5535 GB, free: 8.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.135e-06/0.319, allocations: 1.188 kB / 0.5535 GB, free: 8.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003111/0.3193, allocations: 202.6 kB / 0.5537 GB, free: 8.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.3194, allocations: 10.19 kB / 0.5537 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3194, allocations: 3.188 kB / 0.5537 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3194, allocations: 11 kB / 0.5537 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.3196, allocations: 54.88 kB / 0.5538 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.3208, allocations: 1.317 MB / 0.5551 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.3209, allocations: 18.8 kB / 0.5551 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.3209, allocations: 15.78 kB / 0.5551 GB, free: 6.797 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.0001413/0.3211, allocations: 144 kB / 0.5552 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.3211, allocations: 19.52 kB / 0.5552 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.3214, allocations: 139.3 kB / 0.5554 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3214, allocations: 5.094 kB / 0.5554 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.3214, allocations: 5.156 kB / 0.5554 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.3214, allocations: 1.031 kB / 0.5554 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007052/0.3221, allocations: 474.3 kB / 0.5558 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3221, allocations: 1.094 kB / 0.5558 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.3223, allocations: 31.91 kB / 0.5559 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3223, allocations: 1.062 kB / 0.5559 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.3223, allocations: 10.16 kB / 0.5559 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001049/0.3233, allocations: 1.319 MB / 0.5572 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3233, allocations: 1.625 kB / 0.5572 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.3237, allocations: 314 kB / 0.5575 GB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.3237, allocations: 13.75 kB / 0.5575 GB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.603e-05/0.3238, allocations: 11.09 kB / 0.5575 GB, free: 4.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.704e-05/0.3239, allocations: 1.375 kB / 0.5575 GB, free: 4.492 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.3239, allocations: 12.38 kB / 0.5575 GB, free: 4.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.3239, allocations: 6.906 kB / 0.5575 GB, free: 4.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001487/0.3241, allocations: 145 kB / 0.5577 GB, free: 4.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3241, allocations: 0 / 0.5577 GB, free: 4.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000363/0.3244, allocations: 51.14 kB / 0.5577 GB, free: 4.363 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.0001529/0.3246, allocations: 103.6 kB / 0.5578 GB, free: 4.266 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000339/0.3249, allocations: 125.9 kB / 0.5579 GB, free: 4.211 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3249, allocations: 0 / 0.5579 GB, free: 4.211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.3251, allocations: 59.27 kB / 0.558 GB, free: 4.184 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.3255, allocations: 27.23 kB / 0.558 GB, free: 4.172 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.3265, allocations: 0.5612 MB / 0.5586 GB, free: 3.727 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.3269, allocations: 0.7449 MB / 0.5593 GB, free: 2.992 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.204e-05/0.327, allocations: 22.47 kB / 0.5593 GB, free: 2.98 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.327, allocations: 0 / 0.5593 GB, free: 2.98 MB / 398.1 MB Notification: Performance of Templates: time 0.005567/0.3326, allocations: 3.056 MB / 0.5623 GB, free: 184 kB / 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: 7.532227941090241] Failed to read output from testmodel.py, exit status != 0: 0.3413476219866425 0.356182882 0.040266465 Calling exit ...