Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.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.001324/0.001324, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001509/0.001509, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9099/0.9099, allocations: 177.1 MB / 206.1 MB, free: 4.48 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.1177/0.1177, allocations: 29.42 MB / 292 MB, free: 2.621 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.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.357e-05, allocations: 4.844 kB / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.00366/0.003673, allocations: 5.181 MB / 376.1 MB, free: 27.1 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003269/0.006942, allocations: 3.965 MB / 380 MB, free: 23.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001961/0.007138, allocations: 23.81 kB / 380 MB, free: 23.1 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00498/0.01212, allocations: 5.395 MB / 385.4 MB, free: 17.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.01248, allocations: 353.9 kB / 385.8 MB, free: 17.35 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003264/0.0128, allocations: 259.4 kB / 386 MB, free: 17.09 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001007/0.01381, allocations: 1.695 MB / 387.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002549/0.01406, allocations: 316.4 kB / 388 MB, free: 15.08 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003164/0.01438, allocations: 0.5182 MB / 388.6 MB, free: 14.56 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003527/0.01473, allocations: 414.8 kB / 389 MB, free: 14.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.47e-05/0.01478, allocations: 47.94 kB / 389 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.01493, allocations: 123.7 kB / 389.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.01506, allocations: 295.2 kB / 389.4 MB, free: 13.7 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.01518, allocations: 231.4 kB / 389.7 MB, free: 13.47 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003512/0.01553, allocations: 0.5371 MB / 390.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.01553, allocations: 0 / 390.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.01553, allocations: 0 / 390.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.271e-06/0.01554, allocations: 0 / 390.2 MB, free: 12.93 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.0007663/0.01631, allocations: 0.9486 MB / 391.1 MB, free: 11.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.268e-05/0.01633, allocations: 12.03 kB / 391.2 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002706/0.0166, allocations: 136.4 kB / 391.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004589/0.01706, allocations: 491 kB / 391.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.01708, allocations: 37.36 kB / 391.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-05/0.01712, allocations: 47.94 kB / 391.8 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.01744, allocations: 437 kB / 392.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.01745, allocations: 7.953 kB / 392.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.01748, allocations: 20 kB / 392.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.025e-05/0.01755, allocations: 52.94 kB / 392.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.01773, allocations: 170.7 kB / 392.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.01906, allocations: 2.407 MB / 394.9 MB, free: 7.965 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.01924, allocations: 215.7 kB / 395.1 MB, free: 7.719 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.677e-05/0.01931, allocations: 87.09 kB / 395.2 MB, free: 7.621 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.01933, allocations: 4 kB / 395.2 MB, free: 7.617 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.01934, allocations: 45.38 kB / 395.3 MB, free: 7.562 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.402e-06/0.01934, allocations: 0 / 395.3 MB, free: 7.562 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008483/0.02019, allocations: 0.6703 MB / 395.9 MB, free: 6.848 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.02021, allocations: 110.8 kB / 396 MB, free: 6.715 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.02037, allocations: 438.4 kB / 396.5 MB, free: 6.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.02039, allocations: 29.7 kB / 396.5 MB, free: 6.234 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.81e-05/0.02049, allocations: 374.8 kB / 396.9 MB, free: 5.859 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.801e-05/0.02053, allocations: 134.9 kB / 397 MB, free: 5.727 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.145e-05/0.02061, allocations: 91.77 kB / 397.1 MB, free: 5.629 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.605e-05/0.02066, allocations: 0.5429 MB / 397.6 MB, free: 5.074 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.746e-05/0.02072, allocations: 52.95 kB / 397.7 MB, free: 5.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.414e-05/0.02081, allocations: 254.9 kB / 397.9 MB, free: 4.691 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.02099, allocations: 331 kB / 398.3 MB, free: 4.289 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.021, allocations: 0 / 398.3 MB, free: 4.289 MB / 314.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004699/0.02147, allocations: 491.5 kB / 398.7 MB, free: 3.793 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.02148, allocations: 8 kB / 398.7 MB, free: 3.785 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.02148, allocations: 12.02 kB / 398.8 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003039/0.02179, allocations: 167.2 kB / 398.9 MB, free: 3.602 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.02193, allocations: 71.89 kB / 399 MB, free: 3.531 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/0.02357, allocations: 4.011 MB / 403 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001245/0.02369, allocations: 12 kB / 403 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.087e-05/0.02372, allocations: 16 kB / 403 MB, free: 15.27 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.02383, allocations: 188.4 kB / 403.2 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.033e-05/0.0239, allocations: 63.59 kB / 403.3 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003506/0.02425, allocations: 316.6 kB / 403.6 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.02426, allocations: 7.984 kB / 403.6 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.02426, allocations: 0 / 403.6 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.02427, allocations: 4 kB / 403.6 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000702/0.02497, allocations: 0.6994 MB / 404.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.02497, allocations: 4 kB / 404.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.02518, allocations: 67.95 kB / 404.4 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.957e-05/0.02525, allocations: 51.34 kB / 404.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.02527, allocations: 8 kB / 404.4 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.02642, allocations: 3.426 MB / 407.9 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02642, allocations: 0 / 407.9 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000449/0.02687, allocations: 0.6297 MB / 408.5 MB, free: 9.465 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.178e-05/0.02694, allocations: 63.69 kB / 408.5 MB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.232e-05/0.02698, allocations: 12 kB / 408.6 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.02709, allocations: 11.94 kB / 408.6 MB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.02713, allocations: 23.95 kB / 408.6 MB, free: 9.355 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.02715, allocations: 11.98 kB / 408.6 MB, free: 9.344 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001299/0.02728, allocations: 267 kB / 408.9 MB, free: 9.086 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02728, allocations: 0 / 408.9 MB, free: 9.086 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003471/0.02762, allocations: 132 kB / 409 MB, free: 8.957 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w) * 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 (35): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.871e-05/0.02771, allocations: 111.1 kB / 409.1 MB, free: 8.836 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005654/0.02828, allocations: 0.6609 MB / 409.8 MB, free: 8.137 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.02828, allocations: 0 / 409.8 MB, free: 8.137 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.02853, allocations: 463.8 kB / 410.2 MB, free: 7.645 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000392/0.02892, allocations: 100.5 kB / 410.3 MB, free: 7.555 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.03041, allocations: 1.269 MB / 411.6 MB, free: 6.234 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.03052, allocations: 177.7 kB / 411.8 MB, free: 6.039 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.03066, allocations: 68.33 kB / 411.8 MB, free: 5.973 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.03083, allocations: 154.1 kB / 412 MB, free: 5.82 MB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.03083, allocations: 0 / 412 MB, free: 5.82 MB / 330.7 MB Notification: Performance of Templates: time 0.008231/0.03906, allocations: 6.73 MB / 418.7 MB, free: 15.22 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9740011831745505]