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.0009375/0.0009375, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009602/0.0009602, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9734/0.9734, allocations: 177.1 MB / 205 MB, free: 5.633 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.2512/0.2512, allocations: 29.41 MB / 290.9 MB, free: 2.418 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.613e-06/1.613e-06, allocations: 0 / 369.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.935e-05/2.096e-05, allocations: 2.312 kB / 369.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.004863/0.004884, allocations: 5.233 MB / 374.9 MB, free: 5.691 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004187/0.009071, allocations: 4.008 MB / 378.9 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002175/0.009289, allocations: 19.81 kB / 378.9 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005852/0.01514, allocations: 5.357 MB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004135/0.01555, allocations: 353.9 kB / 384.6 MB, free: 11.94 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003926/0.01595, allocations: 259.4 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.0174, allocations: 1.684 MB / 386.5 MB, free: 9.996 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003668/0.01777, allocations: 320.3 kB / 386.9 MB, free: 9.684 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003701/0.01814, allocations: 0.4909 MB / 387.3 MB, free: 9.191 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003879/0.01853, allocations: 430.8 kB / 387.8 MB, free: 8.77 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.792e-05/0.01858, allocations: 44 kB / 387.8 MB, free: 8.727 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.01877, allocations: 127.7 kB / 387.9 MB, free: 8.602 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.01896, allocations: 303.2 kB / 388.2 MB, free: 8.305 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.01914, allocations: 223.4 kB / 388.5 MB, free: 8.086 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005487/0.01969, allocations: 0.5372 MB / 389 MB, free: 7.547 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.01969, allocations: 3.938 kB / 389 MB, free: 7.543 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.01969, allocations: 0 / 389 MB, free: 7.543 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.0197, allocations: 0 / 389 MB, free: 7.543 MB / 362.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.001124/0.02082, allocations: 0.9566 MB / 389.9 MB, free: 6.543 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.02086, allocations: 11.98 kB / 390 MB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003742/0.02124, allocations: 136.4 kB / 390.1 MB, free: 6.398 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007093/0.02195, allocations: 0.5106 MB / 390.6 MB, free: 5.863 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.02198, allocations: 29.38 kB / 390.6 MB, free: 5.836 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.978e-05/0.02206, allocations: 59.88 kB / 390.7 MB, free: 5.777 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005587/0.02262, allocations: 469.2 kB / 391.2 MB, free: 5.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.02263, allocations: 4 kB / 391.2 MB, free: 5.266 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.02267, allocations: 19.98 kB / 391.2 MB, free: 5.246 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.181e-05/0.02276, allocations: 48.97 kB / 391.2 MB, free: 5.199 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003303/0.02309, allocations: 217.7 kB / 391.4 MB, free: 4.988 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.0253, allocations: 2.531 MB / 394 MB, free: 2.328 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.02558, allocations: 221.1 kB / 394.2 MB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.02571, allocations: 99.09 kB / 394.3 MB, free: 1.965 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.02574, allocations: 4 kB / 394.3 MB, free: 1.961 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.02577, allocations: 49.38 kB / 394.3 MB, free: 1.902 MB / 362.7 MB Notification: Performance of pre-optimization done (n=32): time 1.463e-06/0.02577, allocations: 0 / 394.3 MB, free: 1.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.00139/0.02716, allocations: 0.9594 MB / 395.3 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.02721, allocations: 106.8 kB / 395.4 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.02751, allocations: 438.6 kB / 395.8 MB, free: 324 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.02754, allocations: 33.7 kB / 395.9 MB, free: 284 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.02773, allocations: 375 kB / 396.2 MB, free: 15.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.433e-05/0.0278, allocations: 130.9 kB / 396.3 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.609e-05/0.0279, allocations: 87.84 kB / 396.4 MB, free: 15.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.02807, allocations: 0.5352 MB / 397 MB, free: 15.13 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.02817, allocations: 73.02 kB / 397 MB, free: 15.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.02837, allocations: 266.9 kB / 397.3 MB, free: 14.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003234/0.02869, allocations: 361.3 kB / 397.7 MB, free: 14.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.0287, allocations: 0 / 397.7 MB, free: 14.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006394/0.02934, allocations: 0.5039 MB / 398.2 MB, free: 13.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.02935, allocations: 8.094 kB / 398.2 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.02936, allocations: 4 kB / 398.2 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004085/0.02977, allocations: 175.2 kB / 398.3 MB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.02995, allocations: 79.83 kB / 398.4 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/0.03249, allocations: 4.115 MB / 402.5 MB, free: 9.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.03261, allocations: 16 kB / 402.6 MB, free: 9.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.03264, allocations: 27.98 kB / 402.6 MB, free: 9.102 MB / 378.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.0001238/0.03276, allocations: 192.3 kB / 402.8 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-05/0.03283, allocations: 59.66 kB / 402.8 MB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004137/0.03324, allocations: 344.7 kB / 403.2 MB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.03324, allocations: 4 kB / 403.2 MB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.03325, allocations: 0 / 403.2 MB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.03325, allocations: 3.984 kB / 403.2 MB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007959/0.03405, allocations: 0.8044 MB / 404 MB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.03405, allocations: 3.938 kB / 404 MB, free: 7.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.03426, allocations: 75.89 kB / 404.1 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.04e-05/0.03435, allocations: 47.41 kB / 404.1 MB, free: 7.488 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.03437, allocations: 11.98 kB / 404.1 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.0357, allocations: 3.46 MB / 407.6 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.03571, allocations: 0 / 407.6 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005411/0.03625, allocations: 0.6802 MB / 408.2 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.112e-05/0.03633, allocations: 75.7 kB / 408.3 MB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.03636, allocations: 12 kB / 408.3 MB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.03648, allocations: 15.98 kB / 408.3 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.03652, allocations: 31.89 kB / 408.4 MB, free: 2.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.03654, allocations: 8 kB / 408.4 MB, free: 2.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001672/0.03671, allocations: 283 kB / 408.7 MB, free: 2.637 MB / 378.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03671, allocations: 0 / 408.7 MB, free: 2.637 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000328/0.03703, allocations: 132 kB / 408.8 MB, free: 2.508 MB / 378.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 0.0001024/0.03714, allocations: 107.2 kB / 408.9 MB, free: 2.395 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006856/0.03782, allocations: 0.6916 MB / 409.6 MB, free: 1.664 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.03782, allocations: 0 / 409.6 MB, free: 1.664 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.0381, allocations: 467.2 kB / 410 MB, free: 1.168 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.03854, allocations: 96.91 kB / 410.1 MB, free: 1.074 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.04017, allocations: 1.259 MB / 411.4 MB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.04029, allocations: 189.7 kB / 411.6 MB, free: 15.56 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.04044, allocations: 88.28 kB / 411.7 MB, free: 15.47 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.626e-05/0.04052, allocations: 32.5 kB / 411.7 MB, free: 15.44 MB / 394.7 MB Notification: Performance of SimCode: time 6.31e-07/0.04052, allocations: 0 / 411.7 MB, free: 15.44 MB / 394.7 MB Notification: Performance of Templates: time 0.008332/0.04885, allocations: 6.323 MB / 418 MB, free: 9.227 MB / 394.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.203698535915464]