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.001237/0.001237, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.000978/0.000978, allocations: 167.1 kB / 24.82 MB, free: 9.266 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.032/1.032, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2777/0.2777, allocations: 29.41 MB / 291.2 MB, free: 2.48 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.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 2.755e-06/2.755e-06, allocations: 3.938 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.012e-05/4.287e-05, allocations: 5.125 kB / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.01061/0.01065, allocations: 6.78 MB / 376.9 MB, free: 3.926 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009684/0.02034, allocations: 5.145 MB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.0216, allocations: 39.69 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009785/0.03138, allocations: 6.475 MB / 388.5 MB, free: 8.234 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001895/0.03328, allocations: 0.7655 MB / 389.3 MB, free: 7.465 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.03438, allocations: 0.5533 MB / 389.9 MB, free: 6.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002512/0.03689, allocations: 2.802 MB / 392.7 MB, free: 4.102 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.03798, allocations: 1.178 MB / 393.8 MB, free: 2.902 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/0.03935, allocations: 1.095 MB / 394.9 MB, free: 1.805 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000925/0.04027, allocations: 0.9041 MB / 395.8 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.04045, allocations: 144 kB / 396 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008845/0.04133, allocations: 0.7097 MB / 396.7 MB, free: 48 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005182/0.04185, allocations: 0.6936 MB / 397.4 MB, free: 15.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000472/0.04232, allocations: 0.5223 MB / 397.9 MB, free: 14.83 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.04404, allocations: 1.604 MB / 399.5 MB, free: 13.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.04404, allocations: 0 / 399.5 MB, free: 13.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.04404, allocations: 0 / 399.5 MB, free: 13.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.04405, allocations: 0 / 399.5 MB, free: 13.22 MB / 378.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.002605/0.04666, allocations: 1.924 MB / 401.4 MB, free: 11.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.04669, allocations: 19.92 kB / 401.5 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008919/0.04758, allocations: 291.9 kB / 401.7 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.04879, allocations: 0.9387 MB / 402.7 MB, free: 9.945 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.04897, allocations: 345.3 kB / 403 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.04914, allocations: 107.9 kB / 403.1 MB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.05059, allocations: 1.063 MB / 404.2 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.05062, allocations: 7.938 kB / 404.2 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.05074, allocations: 51.95 kB / 404.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002282/0.05097, allocations: 109.9 kB / 404.3 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009046/0.05187, allocations: 489.4 kB / 404.8 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005869/0.05774, allocations: 5.172 MB / 410 MB, free: 2.285 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006838/0.05842, allocations: 433.6 kB / 410.4 MB, free: 1.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003801/0.0588, allocations: 230.2 kB / 410.6 MB, free: 1.605 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.003e-05/0.05886, allocations: 36.67 kB / 410.7 MB, free: 1.574 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006507/0.05951, allocations: 0.5225 MB / 411.2 MB, free: 1.031 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 5.5e-06/0.05952, allocations: 0 / 411.2 MB, free: 1.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=119): time 0.003682/0.0632, allocations: 1.887 MB / 413.1 MB, free: 15.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.06327, allocations: 131.7 kB / 413.2 MB, free: 14.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006642/0.06394, allocations: 0.6786 MB / 413.9 MB, free: 14.26 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.548e-05/0.06402, allocations: 61.73 kB / 414 MB, free: 14.19 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/0.06443, allocations: 0.5855 MB / 414.5 MB, free: 13.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003099/0.06474, allocations: 436.4 kB / 415 MB, free: 13.17 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003345/0.06507, allocations: 272.3 kB / 415.2 MB, free: 12.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005591/0.06563, allocations: 0.613 MB / 415.8 MB, free: 12.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.066, allocations: 244.8 kB / 416.1 MB, free: 12.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006301/0.06663, allocations: 0.6596 MB / 416.7 MB, free: 11.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009983/0.06763, allocations: 0.8785 MB / 417.6 MB, free: 10.19 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.06764, allocations: 4 kB / 417.6 MB, free: 10.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00229/0.06993, allocations: 1.289 MB / 418.9 MB, free: 8.875 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.043e-05/0.07, allocations: 57.69 kB / 419 MB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.07001, allocations: 8 kB / 419 MB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009083/0.07092, allocations: 335.2 kB / 419.3 MB, free: 8.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005362/0.07146, allocations: 195.6 kB / 419.5 MB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004987/0.07645, allocations: 5.046 MB / 424.5 MB, free: 3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004253/0.07687, allocations: 51.92 kB / 424.6 MB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.07699, allocations: 79.88 kB / 424.7 MB, free: 2.871 MB / 394.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.000295/0.07728, allocations: 240.3 kB / 424.9 MB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002268/0.07751, allocations: 147.3 kB / 425.1 MB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.07893, allocations: 0.89 MB / 425.9 MB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.064e-05/0.07896, allocations: 39.92 kB / 426 MB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.07897, allocations: 4 kB / 426 MB, free: 1.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.07898, allocations: 3.984 kB / 426 MB, free: 1.516 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00302/0.082, allocations: 1.777 MB / 427.8 MB, free: 15.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.08201, allocations: 4 kB / 427.8 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006068/0.08261, allocations: 143.8 kB / 427.9 MB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003051/0.08292, allocations: 134.9 kB / 428 MB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.429e-05/0.08299, allocations: 43.89 kB / 428.1 MB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003092/0.08609, allocations: 5.367 MB / 433.5 MB, free: 9.648 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.08609, allocations: 3.938 kB / 433.5 MB, free: 9.645 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002126/0.08821, allocations: 1.284 MB / 434.7 MB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/0.08854, allocations: 195.2 kB / 434.9 MB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/0.08873, allocations: 79.94 kB / 435 MB, free: 8.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004625/0.08919, allocations: 51.95 kB / 435.1 MB, free: 7.992 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.08936, allocations: 80.8 kB / 435.1 MB, free: 7.914 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.809e-05/0.08944, allocations: 31.97 kB / 435.2 MB, free: 7.883 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003553/0.0898, allocations: 390.8 kB / 435.6 MB, free: 7.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0898, allocations: 0 / 435.6 MB, free: 7.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001087/0.09088, allocations: 375.8 kB / 435.9 MB, free: 7.133 MB / 410.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.001499/0.09238, allocations: 0.5647 MB / 436.5 MB, free: 6.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002499/0.09488, allocations: 1.371 MB / 437.9 MB, free: 5.301 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.09489, allocations: 0 / 437.9 MB, free: 5.301 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001124/0.09601, allocations: 0.9197 MB / 438.8 MB, free: 4.324 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000931/0.09694, allocations: 222.7 kB / 439 MB, free: 4.109 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004439/0.1014, allocations: 2.571 MB / 441.6 MB, free: 1.488 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.1017, allocations: 349.7 kB / 441.9 MB, free: 1.121 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004973/0.1022, allocations: 135.9 kB / 442 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006463/0.1029, allocations: 282.1 kB / 442.3 MB, free: 0.707 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1029, allocations: 0 / 442.3 MB, free: 0.707 MB / 410.7 MB Notification: Performance of Templates: time 0.1938/0.2967, allocations: 18.98 MB / 461.3 MB, free: 91.93 MB / 410.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: 5.371215909719467]