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.0009286/0.0009286, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0008952/0.0008952, 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 1.035/1.035, allocations: 177.1 MB / 205 MB, free: 5.594 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.2499/0.2499, allocations: 29.42 MB / 290.9 MB, free: 2.512 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 1.883e-06/1.883e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.803e-05/2.992e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.008101/0.008131, allocations: 6.874 MB / 376.5 MB, free: 4.086 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007617/0.01575, allocations: 5.215 MB / 381.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008169/0.01656, allocations: 39.69 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009372/0.02594, allocations: 6.409 MB / 388.2 MB, free: 8.391 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.02788, allocations: 0.7616 MB / 388.9 MB, free: 7.625 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.02905, allocations: 0.5533 MB / 389.5 MB, free: 7.07 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002934/0.03199, allocations: 2.787 MB / 392.3 MB, free: 4.277 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/0.03376, allocations: 1.178 MB / 393.5 MB, free: 3.078 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.03577, allocations: 1.056 MB / 394.5 MB, free: 2.02 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.03707, allocations: 0.9196 MB / 395.4 MB, free: 1.098 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003747/0.03745, allocations: 148 kB / 395.6 MB, free: 0.9531 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.03866, allocations: 0.7059 MB / 396.3 MB, free: 252 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005606/0.03922, allocations: 0.7053 MB / 397 MB, free: 15.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006766/0.0399, allocations: 0.5262 MB / 397.5 MB, free: 15.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002264/0.04216, allocations: 1.612 MB / 399.1 MB, free: 13.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/0.04216, allocations: 0 / 399.1 MB, free: 13.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.04217, allocations: 7.938 kB / 399.1 MB, free: 13.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.22e-05/0.0422, allocations: 0 / 399.1 MB, free: 13.39 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.003018/0.04522, allocations: 2.03 MB / 401.2 MB, free: 11.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.31e-05/0.04528, allocations: 11.98 kB / 401.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007729/0.04605, allocations: 327.8 kB / 401.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.04736, allocations: 0.9932 MB / 402.5 MB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000236/0.0476, allocations: 337.3 kB / 402.8 MB, free: 9.539 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.04778, allocations: 111.9 kB / 402.9 MB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/0.04945, allocations: 1.153 MB / 404.1 MB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.04948, allocations: 4 kB / 404.1 MB, free: 8.172 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.472e-05/0.04956, allocations: 39.98 kB / 404.1 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001725/0.04973, allocations: 125.9 kB / 404.3 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.05074, allocations: 0.6165 MB / 404.9 MB, free: 7.391 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005018/0.05576, allocations: 5.309 MB / 410.2 MB, free: 1.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007355/0.05649, allocations: 497.5 kB / 410.7 MB, free: 1.402 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004232/0.05691, allocations: 277.4 kB / 410.9 MB, free: 1.125 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.094e-05/0.05698, allocations: 20.98 kB / 411 MB, free: 1.105 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006887/0.05766, allocations: 0.5545 MB / 411.5 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 3.276e-06/0.05767, allocations: 3.938 kB / 411.5 MB, free: 0.5234 MB / 378.7 MB Notification: Performance of matching and sorting (n=119): time 0.003845/0.06151, allocations: 2.415 MB / 413.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.06159, allocations: 127.7 kB / 414.1 MB, free: 13.92 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006223/0.06221, allocations: 0.6907 MB / 414.7 MB, free: 13.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.49e-05/0.06228, allocations: 57.69 kB / 414.8 MB, free: 13.15 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/0.06262, allocations: 0.5778 MB / 415.4 MB, free: 12.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/0.06287, allocations: 428.5 kB / 415.8 MB, free: 12.14 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002691/0.06314, allocations: 264.5 kB / 416.1 MB, free: 11.88 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.06336, allocations: 0.6093 MB / 416.7 MB, free: 11.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004577/0.06382, allocations: 324.8 kB / 417 MB, free: 10.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006234/0.06444, allocations: 0.7301 MB / 417.7 MB, free: 10.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.06545, allocations: 0.9879 MB / 418.7 MB, free: 8.922 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.06546, allocations: 0 / 418.7 MB, free: 8.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002035/0.06749, allocations: 1.457 MB / 420.2 MB, free: 7.438 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.979e-05/0.06755, allocations: 61.98 kB / 420.2 MB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.06757, allocations: 12 kB / 420.2 MB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008317/0.0684, allocations: 338.9 kB / 420.6 MB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004798/0.06888, allocations: 219.7 kB / 420.8 MB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004365/0.07324, allocations: 5.238 MB / 426 MB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005317/0.07378, allocations: 83.86 kB / 426.1 MB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.07389, allocations: 83.94 kB / 426.2 MB, free: 1.16 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.0004063/0.0743, allocations: 252.2 kB / 426.4 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002454/0.07455, allocations: 147.3 kB / 426.6 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.07607, allocations: 0.9915 MB / 427.6 MB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.774e-05/0.0761, allocations: 27.98 kB / 427.6 MB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.07611, allocations: 4 kB / 427.6 MB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.07612, allocations: 3.984 kB / 427.6 MB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/0.0793, allocations: 2.07 MB / 429.7 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.0793, allocations: 0 / 429.7 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004968/0.0798, allocations: 171.8 kB / 429.8 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000309/0.08011, allocations: 130.9 kB / 430 MB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.951e-05/0.08018, allocations: 35.97 kB / 430 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002734/0.08291, allocations: 5.47 MB / 435.5 MB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.08291, allocations: 0 / 435.5 MB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002025/0.08494, allocations: 1.416 MB / 436.9 MB, free: 5.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003965/0.08534, allocations: 219.2 kB / 437.1 MB, free: 5.715 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/0.08548, allocations: 87.92 kB / 437.2 MB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.08584, allocations: 79.89 kB / 437.3 MB, free: 5.551 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.086, allocations: 80.84 kB / 437.3 MB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.998e-05/0.08607, allocations: 39.97 kB / 437.4 MB, free: 5.434 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004528/0.08652, allocations: 415 kB / 437.8 MB, free: 5.027 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08652, allocations: 0 / 437.8 MB, free: 5.027 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001077/0.0876, allocations: 375.8 kB / 438.1 MB, free: 4.66 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.001285/0.08889, allocations: 0.5627 MB / 438.7 MB, free: 4.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002103/0.09099, allocations: 1.496 MB / 440.2 MB, free: 2.695 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.09099, allocations: 1.375 kB / 440.2 MB, free: 2.695 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009531/0.09195, allocations: 0.9694 MB / 441.2 MB, free: 1.668 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007235/0.09267, allocations: 224.5 kB / 441.4 MB, free: 1.457 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.162/0.2547, allocations: 2.598 MB / 444 MB, free: 94.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.2549, allocations: 348.9 kB / 444.3 MB, free: 94.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000581/0.2555, allocations: 222 kB / 444.6 MB, free: 94.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.2557, allocations: 83.39 kB / 444.6 MB, free: 94.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.452e-06/0.2557, allocations: 0 / 444.6 MB, free: 94.09 MB / 410.7 MB Notification: Performance of Templates: time 0.0215/0.2772, allocations: 18.04 MB / 462.7 MB, free: 92.73 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: 6.111979763023555]