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.001067/0.001067, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001284/0.001284, allocations: 170.4 kB / 24.91 MB, free: 8.723 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 1.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.2503/0.2503, allocations: 29.41 MB / 291.2 MB, free: 2.383 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.222e-06/1.222e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.806e-05, allocations: 2.969 kB / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.004944/0.004962, allocations: 5.24 MB / 322.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004378/0.009341, allocations: 4.041 MB / 326.2 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.009587, allocations: 23.81 kB / 326.2 MB, free: 6.602 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00577/0.01536, allocations: 5.196 MB / 331.4 MB, free: 1.395 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004555/0.01581, allocations: 353.9 kB / 331.7 MB, free: 1.047 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.0162, allocations: 267.3 kB / 332 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.01763, allocations: 1.664 MB / 333.7 MB, free: 15.11 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003676/0.01799, allocations: 345 kB / 334 MB, free: 14.77 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004856/0.01848, allocations: 0.5144 MB / 334.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004368/0.01892, allocations: 398.8 kB / 334.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.352e-05/0.01897, allocations: 51.94 kB / 335 MB, free: 13.81 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002136/0.01918, allocations: 115.8 kB / 335.1 MB, free: 13.7 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.0194, allocations: 299.2 kB / 335.4 MB, free: 13.4 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.01957, allocations: 219.5 kB / 335.6 MB, free: 13.19 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005094/0.02008, allocations: 0.5371 MB / 336.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.02008, allocations: 0 / 336.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.02008, allocations: 4 kB / 336.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.02009, allocations: 4 kB / 336.1 MB, free: 12.64 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.000918/0.021, allocations: 0.8044 MB / 336.9 MB, free: 11.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.945e-05/0.02103, allocations: 15.98 kB / 336.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003216/0.02135, allocations: 108.8 kB / 337 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.02191, allocations: 452.2 kB / 337.5 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.02194, allocations: 37.36 kB / 337.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.248e-05/0.022, allocations: 55.88 kB / 337.6 MB, free: 11.13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004173/0.02242, allocations: 419.5 kB / 338 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.02244, allocations: 4 kB / 338 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.02247, allocations: 16 kB / 338 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.548e-05/0.02254, allocations: 52.95 kB / 338.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/0.02277, allocations: 169.6 kB / 338.2 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.02443, allocations: 1.847 MB / 340.1 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.02463, allocations: 218.4 kB / 340.3 MB, free: 8.258 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.708e-05/0.02471, allocations: 78.55 kB / 340.4 MB, free: 8.172 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.02473, allocations: 4 kB / 340.4 MB, free: 8.168 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.02475, allocations: 38.56 kB / 340.4 MB, free: 8.121 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.533e-06/0.02475, allocations: 0 / 340.4 MB, free: 8.121 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009351/0.02569, allocations: 0.6102 MB / 341 MB, free: 7.469 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.02573, allocations: 106.8 kB / 341.1 MB, free: 7.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.02595, allocations: 363.1 kB / 341.5 MB, free: 6.973 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.02597, allocations: 29.7 kB / 341.5 MB, free: 6.938 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.02609, allocations: 277 kB / 341.8 MB, free: 6.664 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.673e-05/0.02615, allocations: 126.9 kB / 341.9 MB, free: 6.539 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-05/0.02624, allocations: 86.08 kB / 342 MB, free: 6.449 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.533e-05/0.02633, allocations: 358.7 kB / 342.3 MB, free: 6.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.053e-05/0.0264, allocations: 55.8 kB / 342.4 MB, free: 6.031 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.02653, allocations: 181.2 kB / 342.6 MB, free: 5.797 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.02677, allocations: 281.4 kB / 342.8 MB, free: 5.461 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.02677, allocations: 0 / 342.8 MB, free: 5.461 MB / 314.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005249/0.02729, allocations: 418.5 kB / 343.2 MB, free: 5.035 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.0273, allocations: 4 kB / 343.2 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.02731, allocations: 8 kB / 343.3 MB, free: 5.023 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003424/0.02765, allocations: 173.2 kB / 343.4 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.02782, allocations: 75.89 kB / 343.5 MB, free: 4.773 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.0298, allocations: 2.917 MB / 346.4 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.02992, allocations: 12 kB / 346.4 MB, free: 1.656 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.02995, allocations: 19.98 kB / 346.4 MB, free: 1.637 MB / 314.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.0001127/0.03006, allocations: 136.5 kB / 346.6 MB, free: 1.492 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-05/0.03012, allocations: 43.91 kB / 346.6 MB, free: 1.449 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00031/0.03043, allocations: 276.8 kB / 346.9 MB, free: 1.168 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.03043, allocations: 8 kB / 346.9 MB, free: 1.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.03044, allocations: 0 / 346.9 MB, free: 1.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.03044, allocations: 0 / 346.9 MB, free: 1.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006561/0.0311, allocations: 0.6124 MB / 347.5 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.0311, allocations: 0 / 347.5 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.03134, allocations: 78.19 kB / 347.6 MB, free: 444 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-05/0.03142, allocations: 55.34 kB / 347.6 MB, free: 380 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.03144, allocations: 11.98 kB / 347.7 MB, free: 368 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.03245, allocations: 2.39 MB / 350 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.03245, allocations: 4 kB / 350 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004389/0.03289, allocations: 0.5257 MB / 350.6 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.361e-05/0.03296, allocations: 59.64 kB / 350.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.033, allocations: 16.09 kB / 350.6 MB, free: 13.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.03311, allocations: 4 kB / 350.7 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.03316, allocations: 35.83 kB / 350.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.03317, allocations: 11.98 kB / 350.7 MB, free: 13.08 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001018/0.03328, allocations: 140.7 kB / 350.8 MB, free: 12.94 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.03328, allocations: 0 / 350.8 MB, free: 12.94 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003488/0.03362, allocations: 132 kB / 351 MB, free: 12.81 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 9.673e-05/0.03372, allocations: 92.34 kB / 351.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005696/0.03429, allocations: 0.5311 MB / 351.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/0.0343, allocations: 8.062 kB / 351.6 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002342/0.03453, allocations: 338.5 kB / 351.9 MB, free: 11.79 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.03493, allocations: 110.1 kB / 352 MB, free: 11.69 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.0364, allocations: 1.131 MB / 353.2 MB, free: 10.51 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.03653, allocations: 173.7 kB / 353.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001548/0.03669, allocations: 64.33 kB / 353.4 MB, free: 10.26 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001916/0.03688, allocations: 131.3 kB / 353.5 MB, free: 10.13 MB / 330.7 MB Notification: Performance of SimCode: time 7.61e-07/0.03688, allocations: 0 / 353.5 MB, free: 10.13 MB / 330.7 MB Notification: Performance of Templates: time 0.008976/0.04586, allocations: 6.669 MB / 360.2 MB, free: 3.582 MB / 330.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.98914797604084]