Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 113 kB / 19.04 MB, free: 3.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 201.9 kB / 22.22 MB, free: 52 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 250.8 MB, free: 13.37 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.1881/0.1881, allocations: 38.52 MB / 344.5 MB, free: 2.52 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 71.89 kB / 482 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3344, allocations: 61.24 MB / 0.5305 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.005368/0.3398, allocations: 5.036 MB / 0.5355 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002983/0.3427, allocations: 2.516 MB / 0.5379 GB, free: 60 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002631/0.343, allocations: 13.56 kB / 0.5379 GB, free: 56 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.3443, allocations: 459.6 kB / 0.5384 GB, free: 15.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.3456, allocations: 0.5044 MB / 0.5389 GB, free: 15.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007323/0.3463, allocations: 284.2 kB / 0.5391 GB, free: 15.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008853/0.3472, allocations: 0.7451 MB / 0.5399 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004324/0.3476, allocations: 243.7 kB / 0.5401 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004154/0.348, allocations: 330.5 kB / 0.5404 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000465/0.3485, allocations: 350.8 kB / 0.5407 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.765e-05/0.3486, allocations: 37.03 kB / 0.5408 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.3496, allocations: 0.6559 MB / 0.5414 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002512/0.3499, allocations: 204.2 kB / 0.5416 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002677/0.3502, allocations: 237.6 kB / 0.5418 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.3512, allocations: 0.7674 MB / 0.5426 GB, free: 13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3512, allocations: 5.062 kB / 0.5426 GB, free: 13 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3512, allocations: 0 / 0.5426 GB, free: 13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.3513, allocations: 0 / 0.5426 GB, free: 13 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001287/0.3525, allocations: 0.7929 MB / 0.5434 GB, free: 12.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.3526, allocations: 12.77 kB / 0.5434 GB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/0.3543, allocations: 208.1 kB / 0.5436 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005907/0.3549, allocations: 372.1 kB / 0.5439 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.3549, allocations: 26.12 kB / 0.544 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.462e-05/0.355, allocations: 48.45 kB / 0.544 GB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.3562, allocations: 0.6256 MB / 0.5446 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/0.3562, allocations: 9.156 kB / 0.5446 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.061e-05/0.3562, allocations: 12.38 kB / 0.5446 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.007e-05/0.3563, allocations: 34.64 kB / 0.5447 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.3573, allocations: 0.6064 MB / 0.5453 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00346/0.3608, allocations: 2.253 MB / 0.5475 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006612/0.3614, allocations: 450 kB / 0.5479 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/0.3618, allocations: 212.9 kB / 0.5481 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-05/0.3618, allocations: 8.188 kB / 0.5481 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.3618, allocations: 37.47 kB / 0.5481 GB, free: 8.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.854e-06/0.3618, allocations: 3.938 kB / 0.5481 GB, free: 8.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.003849/0.3657, allocations: 1.713 MB / 0.5498 GB, free: 7.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.3658, allocations: 81.95 kB / 0.5499 GB, free: 7.719 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.3661, allocations: 283.2 kB / 0.5502 GB, free: 7.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.3661, allocations: 30.89 kB / 0.5502 GB, free: 7.484 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001741/0.3663, allocations: 235 kB / 0.5504 GB, free: 7.273 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.3664, allocations: 169.8 kB / 0.5506 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.3666, allocations: 84 kB / 0.5507 GB, free: 7.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3668, allocations: 351.8 kB / 0.551 GB, free: 6.727 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002777/0.367, allocations: 173.6 kB / 0.5512 GB, free: 6.648 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/0.3674, allocations: 295 kB / 0.5514 GB, free: 6.422 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007222/0.3681, allocations: 0.5052 MB / 0.5519 GB, free: 6.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3681, allocations: 6.094 kB / 0.5519 GB, free: 6.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001254/0.3694, allocations: 0.6718 MB / 0.5526 GB, free: 5.531 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.3694, allocations: 8 kB / 0.5526 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3694, allocations: 0 / 0.5526 GB, free: 5.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005915/0.37, allocations: 172.7 kB / 0.5528 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.3704, allocations: 99.81 kB / 0.5529 GB, free: 5.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003801/0.3742, allocations: 2.799 MB / 0.5556 GB, free: 2.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.3745, allocations: 23.98 kB / 0.5556 GB, free: 2.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.671e-05/0.3746, allocations: 20 kB / 0.5556 GB, free: 2.277 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 (47): * Single equations (assignments): 46 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002957/0.3749, allocations: 197.7 kB / 0.5558 GB, free: 2.074 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.53e-05/0.3749, allocations: 39.7 kB / 0.5559 GB, free: 2.035 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/0.3762, allocations: 0.6297 MB / 0.5565 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.3762, allocations: 7.984 kB / 0.5565 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.3762, allocations: 0 / 0.5565 GB, free: 1.387 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.3762, allocations: 3.938 kB / 0.5565 GB, free: 1.383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/0.3786, allocations: 1.337 MB / 0.5578 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.3786, allocations: 0 / 0.5578 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003675/0.379, allocations: 80 kB / 0.5579 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004788/0.3795, allocations: 148.7 kB / 0.558 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.3795, allocations: 8 kB / 0.558 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003279/0.3828, allocations: 2.576 MB / 0.5605 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.3828, allocations: 4 kB / 0.5605 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.3844, allocations: 0.9499 MB / 0.5615 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.3846, allocations: 116.9 kB / 0.5616 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.358e-05/0.3846, allocations: 11.94 kB / 0.5616 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.3848, allocations: 15.98 kB / 0.5616 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/0.3849, allocations: 31.95 kB / 0.5616 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.385, allocations: 16 kB / 0.5617 GB, free: 11.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002204/0.3852, allocations: 205.9 kB / 0.5619 GB, free: 11.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3852, allocations: 0 / 0.5619 GB, free: 11.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006518/0.3858, allocations: 136 kB / 0.562 GB, free: 11.49 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia.w,constantTorque.phi,inertia1.w,constantTorque1.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 (38): * Single equations (assignments): 36 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001334/0.386, allocations: 115 kB / 0.5621 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.3872, allocations: 0.65 MB / 0.5627 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3872, allocations: 0 / 0.5627 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007099/0.388, allocations: 406.8 kB / 0.5631 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.3885, allocations: 66.84 kB / 0.5632 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.3904, allocations: 1.146 MB / 0.5643 GB, free: 9.062 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005406/0.391, allocations: 0.8668 MB / 0.5651 GB, free: 8.168 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002057/0.3912, allocations: 71.42 kB / 0.5652 GB, free: 8.098 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.864e-05/0.3913, allocations: 31.44 kB / 0.5652 GB, free: 8.066 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3913, allocations: 3.938 kB / 0.5652 GB, free: 8.062 MB / 414.1 MB Notification: Performance of Templates: time 0.01183/0.4031, allocations: 6.151 MB / 0.5713 GB, free: 1.926 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.152405317872763]