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.0007842/0.0007842, allocations: 87.62 kB / 21.44 MB, free: 3.121 MB / 18.57 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.003538/0.003538, allocations: 158.8 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.8618/0.8618, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2199/0.2199, allocations: 29.41 MB / 290.8 MB, free: 2.434 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.501e-05/2.646e-05, allocations: 4.109 kB / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.003425/0.003452, allocations: 3.312 MB / 434.8 MB, free: 9.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.004673, allocations: 1.177 MB / 436 MB, free: 8.586 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.004806, allocations: 7.938 kB / 436 MB, free: 8.578 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005335/0.00534, allocations: 155.2 kB / 436.1 MB, free: 8.426 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.005622, allocations: 190.9 kB / 436.3 MB, free: 8.238 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.005797, allocations: 127.5 kB / 436.4 MB, free: 8.113 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.006066, allocations: 294.8 kB / 436.7 MB, free: 7.824 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002332/0.006299, allocations: 118.2 kB / 436.8 MB, free: 7.711 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.006518, allocations: 171.5 kB / 437 MB, free: 7.543 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.006656, allocations: 95.67 kB / 437.1 MB, free: 7.449 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.006675, allocations: 16 kB / 437.1 MB, free: 7.434 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.006865, allocations: 199.3 kB / 437.3 MB, free: 7.238 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.00693, allocations: 63.81 kB / 437.4 MB, free: 7.176 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.328e-05/0.006993, allocations: 59.84 kB / 437.4 MB, free: 7.117 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006216/0.007615, allocations: 299 kB / 437.7 MB, free: 6.824 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.007618, allocations: 0 / 437.7 MB, free: 6.824 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.007619, allocations: 4 kB / 437.7 MB, free: 6.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.007624, allocations: 0 / 437.7 MB, free: 6.82 MB / 410.7 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.0005436/0.008168, allocations: 437.2 kB / 438.1 MB, free: 6.363 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.008212, allocations: 11.98 kB / 438.2 MB, free: 6.352 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003845/0.008596, allocations: 84.72 kB / 438.2 MB, free: 6.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.008849, allocations: 193.4 kB / 438.4 MB, free: 6.055 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.008865, allocations: 12.7 kB / 438.4 MB, free: 6.043 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.004e-05/0.008905, allocations: 24.33 kB / 438.5 MB, free: 6.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.0092, allocations: 260.5 kB / 438.7 MB, free: 5.742 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.009217, allocations: 4.172 kB / 438.7 MB, free: 5.738 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.009236, allocations: 20.11 kB / 438.7 MB, free: 5.719 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.009259, allocations: 8.328 kB / 438.7 MB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.009488, allocations: 224.3 kB / 439 MB, free: 5.492 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009611/0.01045, allocations: 1.057 MB / 440 MB, free: 4.359 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.01061, allocations: 125.2 kB / 440.1 MB, free: 4.219 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.024e-05/0.01066, allocations: 49.78 kB / 440.2 MB, free: 4.164 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.01068, allocations: 11.98 kB / 440.2 MB, free: 4.152 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.0107, allocations: 34.56 kB / 440.2 MB, free: 4.109 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.323e-06/0.0107, allocations: 0 / 440.2 MB, free: 4.109 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002627/0.01096, allocations: 161.4 kB / 440.4 MB, free: 3.945 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.011, allocations: 81.11 kB / 440.5 MB, free: 3.848 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.01112, allocations: 183.2 kB / 440.7 MB, free: 3.652 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.01113, allocations: 33.64 kB / 440.7 MB, free: 3.613 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.01121, allocations: 160 kB / 440.8 MB, free: 3.453 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.01123, allocations: 43.69 kB / 440.9 MB, free: 3.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.01127, allocations: 41.66 kB / 440.9 MB, free: 3.363 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.4e-05/0.01136, allocations: 334.9 kB / 441.3 MB, free: 3.027 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.22e-05/0.01141, allocations: 43.97 kB / 441.3 MB, free: 2.984 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.933e-05/0.0115, allocations: 125.3 kB / 441.4 MB, free: 2.828 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.01165, allocations: 182.2 kB / 441.6 MB, free: 2.613 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.01165, allocations: 0 / 441.6 MB, free: 2.613 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001896/0.01184, allocations: 201.2 kB / 441.8 MB, free: 2.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.01186, allocations: 8 kB / 441.8 MB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.01186, allocations: 12.33 kB / 441.8 MB, free: 2.391 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.01188, allocations: 4 kB / 441.8 MB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.01203, allocations: 47.92 kB / 441.9 MB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006481/0.01268, allocations: 1.29 MB / 443.2 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.78e-05/0.01274, allocations: 27.83 kB / 443.2 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.01275, allocations: 8 kB / 443.2 MB, free: 0.9141 MB / 410.7 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 9.408e-05/0.01285, allocations: 153.9 kB / 443.3 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.01287, allocations: 15.91 kB / 443.4 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.01302, allocations: 147.5 kB / 443.5 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.01302, allocations: 0 / 443.5 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.01302, allocations: 0 / 443.5 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01302, allocations: 0 / 443.5 MB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003755/0.0134, allocations: 423.7 kB / 443.9 MB, free: 132 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.0134, allocations: 3.938 kB / 443.9 MB, free: 128 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.172e-05/0.01348, allocations: 27.98 kB / 443.9 MB, free: 100 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.01349, allocations: 64 / 443.9 MB, free: 100 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.0135, allocations: 8 kB / 444 MB, free: 92 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1854/0.1989, allocations: 1.285 MB / 445.2 MB, free: 49.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1989, allocations: 7.953 kB / 445.2 MB, free: 49.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.1991, allocations: 297.5 kB / 445.5 MB, free: 49.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.1992, allocations: 22.94 kB / 445.6 MB, free: 49.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.1992, allocations: 4.688 kB / 445.6 MB, free: 49.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.063e-05/0.1992, allocations: 3.031 kB / 445.6 MB, free: 49.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.1993, allocations: 16.33 kB / 445.6 MB, free: 49.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.1993, allocations: 6.812 kB / 445.6 MB, free: 49.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.192e-05/0.1993, allocations: 133.8 kB / 445.7 MB, free: 49.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1993, allocations: 0 / 445.7 MB, free: 49.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002709/0.1996, allocations: 53.7 kB / 445.8 MB, free: 49.56 MB / 410.7 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 9.585e-05/0.1997, allocations: 99.58 kB / 445.9 MB, free: 49.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.1999, allocations: 122.3 kB / 446 MB, free: 49.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1999, allocations: 0.5 kB / 446 MB, free: 49.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.717e-05/0.2, allocations: 62.59 kB / 446 MB, free: 49.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.2003, allocations: 41.88 kB / 446.1 MB, free: 49.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007437/0.2011, allocations: 0.4908 MB / 446.6 MB, free: 49.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.535e-05/0.2011, allocations: 129.8 kB / 446.7 MB, free: 49.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.2012, allocations: 24 kB / 446.7 MB, free: 49.15 MB / 410.7 MB Notification: Performance of SimCode: time 4.2e-07/0.2012, allocations: 0 / 446.7 MB, free: 49.15 MB / 410.7 MB Notification: Performance of Templates: time 0.003249/0.2044, allocations: 3.045 MB / 449.8 MB, free: 48.96 MB / 410.7 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: 4.986352361738682] Failed to read output from testmodel.py, exit status != 0: 0.2101867776364088 0.21680505700000002 0.20723548700000002 Calling exit ...