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.001739/0.001739, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002497/0.002497, allocations: 207.6 kB / 24.48 MB, free: 3.957 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.573/1.573, allocations: 230.6 MB / 258.2 MB, free: 8 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.1803/0.1803, allocations: 38.55 MB / 353.2 MB, free: 12.34 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.002361/0.002361, allocations: 63.91 kB / 493.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3236, allocations: 62.48 MB / 0.5432 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.004981/0.3286, allocations: 3.319 MB / 0.5464 GB, free: 13.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.3306, allocations: 1.169 MB / 0.5475 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.3307, allocations: 8.781 kB / 0.5476 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006386/0.3314, allocations: 163.2 kB / 0.5477 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004575/0.3318, allocations: 174.5 kB / 0.5479 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.3322, allocations: 135.7 kB / 0.548 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003867/0.3325, allocations: 280.4 kB / 0.5483 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.3328, allocations: 119.6 kB / 0.5484 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.3331, allocations: 133.1 kB / 0.5485 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.3333, allocations: 102 kB / 0.5486 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.3333, allocations: 13.72 kB / 0.5486 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003446/0.3337, allocations: 191.6 kB / 0.5488 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.624e-05/0.3337, allocations: 62.59 kB / 0.5489 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.3339, allocations: 81.69 kB / 0.5489 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004569/0.3343, allocations: 286.2 kB / 0.5492 GB, free: 11.87 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3343, allocations: 9.328 kB / 0.5492 GB, free: 11.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3343, allocations: 0 / 0.5492 GB, free: 11.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.3343, allocations: 0 / 0.5492 GB, free: 11.86 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.0007167/0.335, allocations: 437 kB / 0.5496 GB, free: 11.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3351, allocations: 13.45 kB / 0.5497 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006889/0.3358, allocations: 76.56 kB / 0.5497 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.3361, allocations: 202.2 kB / 0.5499 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.3362, allocations: 11.77 kB / 0.5499 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.3362, allocations: 19.52 kB / 0.5499 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004364/0.3366, allocations: 263.5 kB / 0.5502 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.3367, allocations: 1.281 kB / 0.5502 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.3367, allocations: 5.375 kB / 0.5502 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/0.3367, allocations: 18.75 kB / 0.5502 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003627/0.3371, allocations: 215.8 kB / 0.5504 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.3387, allocations: 1.08 MB / 0.5515 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.3389, allocations: 122.8 kB / 0.5516 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.467e-05/0.339, allocations: 43.55 kB / 0.5516 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.339, allocations: 14.12 kB / 0.5517 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.339, allocations: 32.69 kB / 0.5517 GB, free: 9.801 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.974e-06/0.339, allocations: 0 / 0.5517 GB, free: 9.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003474/0.3394, allocations: 166.5 kB / 0.5518 GB, free: 9.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.3395, allocations: 86.48 kB / 0.5519 GB, free: 9.602 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.3396, allocations: 190.5 kB / 0.5521 GB, free: 9.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.3397, allocations: 29.7 kB / 0.5521 GB, free: 9.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.3398, allocations: 159.6 kB / 0.5523 GB, free: 9.266 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.187e-05/0.3398, allocations: 45.17 kB / 0.5523 GB, free: 9.227 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.3399, allocations: 44.81 kB / 0.5524 GB, free: 9.191 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.34, allocations: 325.9 kB / 0.5527 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.308e-05/0.3401, allocations: 48.25 kB / 0.5527 GB, free: 8.844 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.3403, allocations: 122.9 kB / 0.5529 GB, free: 8.723 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.3405, allocations: 186.2 kB / 0.553 GB, free: 8.562 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3405, allocations: 1.312 kB / 0.553 GB, free: 8.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003128/0.3408, allocations: 202 kB / 0.5532 GB, free: 8.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.3408, allocations: 10.45 kB / 0.5532 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.3409, allocations: 3.156 kB / 0.5532 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.3409, allocations: 3.844 kB / 0.5532 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.3411, allocations: 50.25 kB / 0.5533 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.3422, allocations: 1.296 MB / 0.5546 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.3423, allocations: 18.77 kB / 0.5546 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.3423, allocations: 7.656 kB / 0.5546 GB, free: 7.102 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.0001651/0.3425, allocations: 147.2 kB / 0.5547 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.3426, allocations: 19.66 kB / 0.5547 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.3428, allocations: 138.8 kB / 0.5549 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3428, allocations: 1.219 kB / 0.5549 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.3428, allocations: 1.375 kB / 0.5549 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3428, allocations: 4 kB / 0.5549 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007001/0.3435, allocations: 422.3 kB / 0.5553 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3435, allocations: 1.312 kB / 0.5553 GB, free: 6.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.3437, allocations: 34.7 kB / 0.5553 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3437, allocations: 2.281 kB / 0.5553 GB, free: 6.484 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.3437, allocations: 5.156 kB / 0.5553 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.3448, allocations: 1.307 MB / 0.5566 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3448, allocations: 1.125 kB / 0.5566 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004323/0.3452, allocations: 298.3 kB / 0.5569 GB, free: 4.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.3453, allocations: 21.31 kB / 0.5569 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.3453, allocations: 10.44 kB / 0.5569 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.391e-05/0.3454, allocations: 5.484 kB / 0.5569 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.3454, allocations: 8.484 kB / 0.5569 GB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.3454, allocations: 8.781 kB / 0.5569 GB, free: 4.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001615/0.3456, allocations: 128.7 kB / 0.5571 GB, free: 4.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3456, allocations: 1.375 kB / 0.5571 GB, free: 4.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000409/0.346, allocations: 51.39 kB / 0.5571 GB, free: 4.766 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.00015/0.3462, allocations: 107.5 kB / 0.5572 GB, free: 4.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003862/0.3465, allocations: 133.3 kB / 0.5573 GB, free: 4.602 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3466, allocations: 0 / 0.5573 GB, free: 4.602 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.3467, allocations: 52.75 kB / 0.5574 GB, free: 4.582 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.3471, allocations: 39.03 kB / 0.5574 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.3482, allocations: 0.5534 MB / 0.558 GB, free: 4.129 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.3484, allocations: 132.2 kB / 0.5581 GB, free: 4.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.3484, allocations: 16.78 kB / 0.5581 GB, free: 4.012 MB / 398.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3484, allocations: 1.156 kB / 0.5581 GB, free: 4.012 MB / 398.1 MB Notification: Performance of Templates: time 0.005459/0.3539, allocations: 3.041 MB / 0.5611 GB, free: 1.207 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: 8.006254818756133] Failed to read output from testmodel.py, exit status != 0: 0.3631874546408653 0.37864807599999994 0.041015354000000004 Calling exit ...