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.001101/0.001101, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001238/0.001238, allocations: 170 kB / 24.91 MB, free: 9.195 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.065/1.065, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2297/0.2297, allocations: 29.42 MB / 291.2 MB, free: 2.492 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.412e-06/1.412e-06, allocations: 0 / 316.8 MB, free: 20 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.929e-05, allocations: 3.188 kB / 316.8 MB, free: 16 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.01185/0.01187, allocations: 5.211 MB / 322 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.02303, allocations: 4.031 MB / 326.1 MB, free: 6.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002638/0.02329, allocations: 31.69 kB / 326.1 MB, free: 6.699 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01316/0.03646, allocations: 5.282 MB / 331.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004222/0.03688, allocations: 341.9 kB / 331.7 MB, free: 1.066 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.03725, allocations: 275.3 kB / 332 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.03847, allocations: 1.673 MB / 333.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003146/0.03878, allocations: 341 kB / 334 MB, free: 14.78 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003668/0.03915, allocations: 0.5143 MB / 334.5 MB, free: 14.26 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003483/0.0395, allocations: 398.8 kB / 334.9 MB, free: 13.87 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.582e-05/0.03954, allocations: 48 kB / 334.9 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.0397, allocations: 119.8 kB / 335.1 MB, free: 13.71 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.03988, allocations: 299.2 kB / 335.4 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001544/0.04004, allocations: 211.5 kB / 335.6 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004533/0.04049, allocations: 0.541 MB / 336.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.04049, allocations: 0 / 336.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.04049, allocations: 0 / 336.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.0405, allocations: 0 / 336.1 MB, free: 12.66 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.0008251/0.04132, allocations: 0.8161 MB / 336.9 MB, free: 11.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.04135, allocations: 15.92 kB / 336.9 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002801/0.04163, allocations: 104.8 kB / 337 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004973/0.04213, allocations: 452.2 kB / 337.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.04215, allocations: 45.36 kB / 337.5 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.588e-05/0.04221, allocations: 47.89 kB / 337.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.04258, allocations: 419.6 kB / 338 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.04259, allocations: 4 kB / 338 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.04262, allocations: 16 kB / 338 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-05/0.04269, allocations: 48.91 kB / 338.1 MB, free: 10.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.04288, allocations: 173.5 kB / 338.2 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.04437, allocations: 1.851 MB / 340.1 MB, free: 8.512 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.04456, allocations: 218.4 kB / 340.3 MB, free: 8.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.424e-05/0.04464, allocations: 74.59 kB / 340.4 MB, free: 8.188 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.04466, allocations: 8 kB / 340.4 MB, free: 8.18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.04468, allocations: 42.5 kB / 340.4 MB, free: 8.129 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 1.322e-06/0.04468, allocations: 0 / 340.4 MB, free: 8.129 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008752/0.04556, allocations: 0.6062 MB / 341 MB, free: 7.48 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.0456, allocations: 106.8 kB / 341.1 MB, free: 7.352 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.0458, allocations: 359.1 kB / 341.5 MB, free: 6.988 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.04582, allocations: 37.86 kB / 341.5 MB, free: 6.945 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.04592, allocations: 269.1 kB / 341.8 MB, free: 6.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/0.04599, allocations: 122.9 kB / 341.9 MB, free: 6.559 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.987e-05/0.04607, allocations: 90.09 kB / 342 MB, free: 6.465 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.195e-05/0.04616, allocations: 362.7 kB / 342.3 MB, free: 6.102 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.349e-05/0.04622, allocations: 55.73 kB / 342.4 MB, free: 6.043 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.04635, allocations: 177.2 kB / 342.6 MB, free: 5.812 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.04656, allocations: 285.3 kB / 342.8 MB, free: 5.473 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.04656, allocations: 0 / 342.8 MB, free: 5.473 MB / 314.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004498/0.04701, allocations: 406.7 kB / 343.2 MB, free: 5.059 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.04702, allocations: 8 kB / 343.2 MB, free: 5.051 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.04703, allocations: 7.984 kB / 343.2 MB, free: 5.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003287/0.04736, allocations: 180.7 kB / 343.4 MB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.0475, allocations: 71.89 kB / 343.5 MB, free: 4.789 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/0.04932, allocations: 2.898 MB / 346.4 MB, free: 1.699 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.04943, allocations: 15.94 kB / 346.4 MB, free: 1.684 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.04945, allocations: 16 kB / 346.4 MB, free: 1.668 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.0001045/0.04955, allocations: 140.5 kB / 346.6 MB, free: 1.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.156e-05/0.04961, allocations: 40 kB / 346.6 MB, free: 1.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000302/0.04991, allocations: 284.8 kB / 346.9 MB, free: 1.191 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.04991, allocations: 7.938 kB / 346.9 MB, free: 1.184 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.04991, allocations: 4 kB / 346.9 MB, free: 1.18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.04992, allocations: 0 / 346.9 MB, free: 1.18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005977/0.05052, allocations: 0.6047 MB / 347.5 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.05052, allocations: 0 / 347.5 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.05071, allocations: 67.91 kB / 347.6 MB, free: 480 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.703e-05/0.05079, allocations: 43.34 kB / 347.6 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.0508, allocations: 11.98 kB / 347.6 MB, free: 416 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009461/0.05175, allocations: 2.39 MB / 350 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.05175, allocations: 4.25 kB / 350 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.05213, allocations: 0.5257 MB / 350.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.05219, allocations: 55.66 kB / 350.6 MB, free: 13.2 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.815e-05/0.05223, allocations: 11.98 kB / 350.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.05234, allocations: 12 kB / 350.6 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.05237, allocations: 31.83 kB / 350.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.363e-05/0.05239, allocations: 8 kB / 350.7 MB, free: 13.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.195e-05/0.05248, allocations: 152.7 kB / 350.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.05248, allocations: 0 / 350.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002919/0.05277, allocations: 132 kB / 350.9 MB, free: 12.86 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.676e-05/0.05287, allocations: 89.33 kB / 351 MB, free: 12.76 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005392/0.05341, allocations: 0.5305 MB / 351.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.05341, allocations: 4 kB / 351.6 MB, free: 12.2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002192/0.05363, allocations: 343.4 kB / 351.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.05397, allocations: 122 kB / 352 MB, free: 11.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.05528, allocations: 1.116 MB / 353.1 MB, free: 10.56 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.05539, allocations: 181.7 kB / 353.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.05551, allocations: 60.33 kB / 353.4 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001598/0.05567, allocations: 131.3 kB / 353.5 MB, free: 10.18 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.05567, allocations: 0 / 353.5 MB, free: 10.18 MB / 330.7 MB Notification: Performance of Templates: time 0.008309/0.06398, allocations: 6.619 MB / 360.1 MB, free: 3.672 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2029085559770465]