Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.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.0006548/0.0006548, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009274/0.001582, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.000688/0.000688, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009423/0.00163, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.912/0.912, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07344/0.9855, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.112/0.112, allocations: 29.42 MB / 273.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1018/0.2138, allocations: 9.528 MB / 283.1 MB, free: 12.82 MB / 282.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.Drives.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.328e-06/1.068e-05, allocations: 2.969 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.005911/0.005922, allocations: 6.926 MB / 291.3 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00586/0.01178, allocations: 5.298 MB / 296.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003945/0.01218, allocations: 39.69 kB / 296.7 MB, free: 2.395 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006562/0.01874, allocations: 5.86 MB / 302.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.0198, allocations: 0.7616 MB / 303.3 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008377/0.02063, allocations: 0.5571 MB / 303.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002139/0.02277, allocations: 2.744 MB / 306.6 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009803/0.02375, allocations: 1.179 MB / 307.8 MB, free: 7.242 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.02483, allocations: 1.158 MB / 308.9 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.02587, allocations: 0.8923 MB / 309.8 MB, free: 5.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002183/0.02609, allocations: 144 kB / 310 MB, free: 5.039 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008514/0.02694, allocations: 0.7215 MB / 310.7 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000454/0.02739, allocations: 0.6197 MB / 311.3 MB, free: 3.695 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003512/0.02774, allocations: 431.2 kB / 311.7 MB, free: 3.273 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.02905, allocations: 1.445 MB / 313.2 MB, free: 1.824 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.02906, allocations: 0 / 313.2 MB, free: 1.824 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.02906, allocations: 4 kB / 313.2 MB, free: 1.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.02908, allocations: 0 / 313.2 MB, free: 1.82 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.001979/0.03106, allocations: 2.041 MB / 315.2 MB, free: 15.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.833e-05/0.03109, allocations: 15.97 kB / 315.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005647/0.03165, allocations: 337.7 kB / 315.6 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.03277, allocations: 0.7916 MB / 316.4 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.03291, allocations: 341.3 kB / 316.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.03304, allocations: 111.9 kB / 316.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009746/0.03402, allocations: 1.037 MB / 317.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.03404, allocations: 0 / 317.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-05/0.03412, allocations: 43.98 kB / 317.9 MB, free: 12.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/0.03425, allocations: 109.9 kB / 318 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000582/0.03483, allocations: 464.4 kB / 318.4 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01062/0.04545, allocations: 4.036 MB / 322.5 MB, free: 8.113 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006309/0.04608, allocations: 432 kB / 322.9 MB, free: 7.676 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003389/0.04642, allocations: 208.7 kB / 323.1 MB, free: 7.469 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.398e-05/0.04647, allocations: 20.94 kB / 323.1 MB, free: 7.449 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008321/0.0473, allocations: 0.4992 MB / 323.6 MB, free: 6.926 MB / 314.7 MB Notification: Performance of pre-optimization done (n=116): time 2.475e-06/0.04731, allocations: 0 / 323.6 MB, free: 6.926 MB / 314.7 MB Notification: Performance of matching and sorting (n=119): time 0.009166/0.05647, allocations: 1.747 MB / 325.4 MB, free: 5.148 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.05653, allocations: 102.1 kB / 325.5 MB, free: 5.027 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006518/0.06305, allocations: 0.6106 MB / 326.1 MB, free: 4.406 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-05/0.06313, allocations: 61.69 kB / 326.1 MB, free: 4.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000231/0.06336, allocations: 446.1 kB / 326.6 MB, free: 3.895 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/0.06362, allocations: 424.4 kB / 327 MB, free: 3.477 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002973/0.06392, allocations: 230.7 kB / 327.2 MB, free: 3.246 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.06406, allocations: 418.5 kB / 327.6 MB, free: 2.828 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/0.06441, allocations: 247.8 kB / 327.9 MB, free: 2.578 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004716/0.06488, allocations: 0.5267 MB / 328.4 MB, free: 1.938 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008474/0.06573, allocations: 0.801 MB / 329.2 MB, free: 1.031 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.06573, allocations: 0 / 329.2 MB, free: 1.031 MB / 314.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00788/0.07361, allocations: 1.094 MB / 330.3 MB, free: 15.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.651e-05/0.07367, allocations: 57.98 kB / 330.4 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.07368, allocations: 12 kB / 330.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008205/0.0745, allocations: 327.5 kB / 330.7 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006651/0.08115, allocations: 219.7 kB / 330.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009872/0.09103, allocations: 3.912 MB / 334.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004072/0.09143, allocations: 51.92 kB / 334.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.09155, allocations: 79.92 kB / 334.9 MB, free: 11.07 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 29 (system.initime,inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 115 * Array equations: 3 * Algorithm blocks: 1 * 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 {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0002891/0.09184, allocations: 208.3 kB / 335.1 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.09203, allocations: 103.9 kB / 335.2 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006707/0.09873, allocations: 0.7202 MB / 336 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-05/0.09877, allocations: 23.94 kB / 336 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.09877, allocations: 4 kB / 336 MB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.09878, allocations: 7.969 kB / 336 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/0.1012, allocations: 1.503 MB / 337.5 MB, free: 8.426 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1012, allocations: 0 / 337.5 MB, free: 8.426 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005097/0.1017, allocations: 187.7 kB / 337.7 MB, free: 8.242 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/0.102, allocations: 179.2 kB / 337.9 MB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003207/0.1023, allocations: 123 kB / 338 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.758e-05/0.1024, allocations: 35.95 kB / 338 MB, free: 7.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/0.1046, allocations: 3.79 MB / 341.8 MB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.1046, allocations: 0 / 341.8 MB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.1061, allocations: 1.063 MB / 342.9 MB, free: 2.715 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.1063, allocations: 79.94 kB / 342.9 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.1067, allocations: 55.95 kB / 343 MB, free: 2.582 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.1068, allocations: 76.8 kB / 343.1 MB, free: 2.508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.499e-05/0.1069, allocations: 27.97 kB / 343.1 MB, free: 2.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002339/0.1071, allocations: 264.5 kB / 343.4 MB, free: 2.219 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1071, allocations: 0 / 343.4 MB, free: 2.219 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008722/0.108, allocations: 371.8 kB / 343.7 MB, free: 1.855 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.rotor.phi,asm.rotor.w,asm.motor.i[3],asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],tabLoad.s) * Number of discrete variables: 17 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3],system.initime) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 79 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,1,100.0%), (2,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.001717/0.1097, allocations: 0.7614 MB / 344.5 MB, free: 1.449 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.1112, allocations: 1.206 MB / 345.7 MB, free: 204 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-05/0.1112, allocations: 20.48 kB / 345.7 MB, free: 184 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006749/0.1119, allocations: 0.7866 MB / 346.5 MB, free: 15.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.113, allocations: 1.507 MB / 348 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02061/0.1336, allocations: 2.339 MB / 350.3 MB, free: 11.19 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.134, allocations: 345.7 kB / 350.7 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006288/0.1346, allocations: 139.9 kB / 350.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006775/0.1353, allocations: 245.2 kB / 351.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of SimCode: time 1.433e-06/0.1353, allocations: 0 / 351.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of Templates: time 0.02933/0.1646, allocations: 19.36 MB / 370.4 MB, free: 7.348 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.668065809644759]