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.0009076/0.0009076, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009469/0.0009469, allocations: 165 kB / 24.56 MB, free: 12 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 1.036/1.036, 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.2228/0.2228, allocations: 29.41 MB / 290.9 MB, free: 2.438 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.214e-06/2.214e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.053e-05/3.274e-05, allocations: 2.312 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.009586/0.009619, allocations: 6.874 MB / 376.5 MB, free: 4.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009329/0.01895, allocations: 5.208 MB / 381.7 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.01998, allocations: 39.69 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01198/0.03196, allocations: 6.456 MB / 388.2 MB, free: 8.336 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002477/0.03443, allocations: 0.7616 MB / 389 MB, free: 7.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.03609, allocations: 0.5455 MB / 389.5 MB, free: 7.023 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004317/0.04041, allocations: 2.799 MB / 392.3 MB, free: 4.219 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001822/0.04223, allocations: 1.186 MB / 393.5 MB, free: 3.012 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001961/0.04419, allocations: 1.084 MB / 394.6 MB, free: 1.926 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001545/0.04574, allocations: 0.9118 MB / 395.5 MB, free: 1.012 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004097/0.04615, allocations: 144 kB / 395.6 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.04763, allocations: 0.6981 MB / 396.3 MB, free: 176 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007413/0.04837, allocations: 0.7055 MB / 397 MB, free: 15.46 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000876/0.04925, allocations: 0.5222 MB / 397.6 MB, free: 14.94 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002539/0.05179, allocations: 1.604 MB / 399.2 MB, free: 13.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.05179, allocations: 4 kB / 399.2 MB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.05179, allocations: 0 / 399.2 MB, free: 13.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.507e-05/0.05183, allocations: 0 / 399.2 MB, free: 13.32 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.003357/0.05518, allocations: 2.033 MB / 401.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.05523, allocations: 11.98 kB / 401.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009063/0.05614, allocations: 323.8 kB / 401.5 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.0578, allocations: 0.9855 MB / 402.5 MB, free: 9.871 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002277/0.05803, allocations: 341.3 kB / 402.9 MB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/0.05824, allocations: 111.9 kB / 403 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.06027, allocations: 1.149 MB / 404.1 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/0.0603, allocations: 4 kB / 404.1 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.06043, allocations: 47.97 kB / 404.2 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000264/0.06069, allocations: 121.9 kB / 404.3 MB, free: 7.953 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001503/0.0622, allocations: 0.6165 MB / 404.9 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006773/0.06897, allocations: 5.301 MB / 410.2 MB, free: 1.863 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.07001, allocations: 0.4966 MB / 410.7 MB, free: 1.352 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006088/0.07062, allocations: 282.2 kB / 411 MB, free: 1.066 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.489e-05/0.07068, allocations: 20.98 kB / 411 MB, free: 1.047 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009469/0.07163, allocations: 0.5583 MB / 411.6 MB, free: 476 kB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 3.727e-06/0.07163, allocations: 0 / 411.6 MB, free: 476 kB / 378.7 MB Notification: Performance of matching and sorting (n=119): time 0.005123/0.07675, allocations: 2.404 MB / 414 MB, free: 14.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.531e-05/0.07683, allocations: 127.8 kB / 414.1 MB, free: 13.87 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008114/0.07764, allocations: 0.6907 MB / 414.8 MB, free: 13.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.284e-05/0.07773, allocations: 61.61 kB / 414.8 MB, free: 13.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004133/0.07815, allocations: 0.5856 MB / 415.4 MB, free: 12.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003391/0.07849, allocations: 428.5 kB / 415.8 MB, free: 12.08 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003842/0.07887, allocations: 256.5 kB / 416.1 MB, free: 11.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002725/0.07914, allocations: 0.6093 MB / 416.7 MB, free: 11.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006369/0.07978, allocations: 324.8 kB / 417 MB, free: 10.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008753/0.08065, allocations: 0.7339 MB / 417.7 MB, free: 9.996 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.08207, allocations: 0.9841 MB / 418.7 MB, free: 8.867 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.08208, allocations: 0 / 418.7 MB, free: 8.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002881/0.08496, allocations: 1.457 MB / 420.2 MB, free: 7.383 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.045e-05/0.08503, allocations: 61.98 kB / 420.2 MB, free: 7.316 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.08504, allocations: 12 kB / 420.3 MB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.08617, allocations: 342.9 kB / 420.6 MB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000692/0.08686, allocations: 215.7 kB / 420.8 MB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005832/0.09269, allocations: 5.226 MB / 426 MB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007241/0.09341, allocations: 87.88 kB / 426.1 MB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.09356, allocations: 83.94 kB / 426.2 MB, free: 1.113 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.0004532/0.09402, allocations: 252.2 kB / 426.4 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/0.09431, allocations: 147.3 kB / 426.6 MB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.09633, allocations: 0.9837 MB / 427.6 MB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.545e-05/0.09637, allocations: 27.98 kB / 427.6 MB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.09638, allocations: 7.984 kB / 427.6 MB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.09639, allocations: 3.984 kB / 427.6 MB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003629/0.1, allocations: 2.074 MB / 429.7 MB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.1, allocations: 4 kB / 429.7 MB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007423/0.1008, allocations: 175.8 kB / 429.9 MB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004214/0.1012, allocations: 118.9 kB / 430 MB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.589e-05/0.1013, allocations: 39.95 kB / 430 MB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003323/0.1046, allocations: 5.466 MB / 435.5 MB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1046, allocations: 0 / 435.5 MB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002753/0.1074, allocations: 1.424 MB / 436.9 MB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005577/0.1079, allocations: 211.2 kB / 437.1 MB, free: 5.672 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.1081, allocations: 79.94 kB / 437.2 MB, free: 5.594 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00054/0.1087, allocations: 83.88 kB / 437.3 MB, free: 5.512 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/0.1089, allocations: 84.78 kB / 437.4 MB, free: 5.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.569e-05/0.109, allocations: 43.97 kB / 437.4 MB, free: 5.387 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005028/0.1095, allocations: 415 kB / 437.8 MB, free: 4.98 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1095, allocations: 0 / 437.8 MB, free: 4.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001333/0.1108, allocations: 371.8 kB / 438.2 MB, free: 4.617 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.001666/0.1125, allocations: 0.5617 MB / 438.7 MB, free: 4.215 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002956/0.1154, allocations: 1.492 MB / 440.2 MB, free: 2.664 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.1155, allocations: 5.375 kB / 440.2 MB, free: 2.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001385/0.1168, allocations: 0.9694 MB / 441.2 MB, free: 1.633 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.118, allocations: 221.1 kB / 441.4 MB, free: 1.426 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1712/0.2892, allocations: 2.596 MB / 444 MB, free: 93.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.2895, allocations: 354.8 kB / 444.4 MB, free: 93.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006426/0.2901, allocations: 223.5 kB / 444.6 MB, free: 93.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.2904, allocations: 81.89 kB / 444.7 MB, free: 93.65 MB / 410.7 MB Notification: Performance of SimCode: time 2.605e-06/0.2904, allocations: 0 / 444.7 MB, free: 93.65 MB / 410.7 MB Notification: Performance of Templates: time 0.02162/0.312, allocations: 18.63 MB / 463.3 MB, free: 92.2 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.822971534915268]