Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.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.001011/0.001011, 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.001561/0.001561, 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.9785/0.9785, allocations: 177.1 MB / 205 MB, free: 5.637 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.2655/0.2655, allocations: 29.42 MB / 290.9 MB, free: 2.457 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.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.073e-06/2.073e-06, allocations: 0 / 369.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.437e-05/3.645e-05, allocations: 5.266 kB / 369.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.008425/0.008462, allocations: 6.745 MB / 376.4 MB, free: 4.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006598/0.01506, allocations: 5.079 MB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008017/0.01586, allocations: 43.69 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008452/0.02431, allocations: 6.436 MB / 388 MB, free: 8.598 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.02552, allocations: 0.5709 MB / 388.5 MB, free: 8.023 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.02661, allocations: 0.5143 MB / 389 MB, free: 7.508 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002476/0.02908, allocations: 2.448 MB / 391.5 MB, free: 5.055 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001031/0.03011, allocations: 0.8846 MB / 392.4 MB, free: 4.16 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.0312, allocations: 0.8183 MB / 393.2 MB, free: 3.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009107/0.03211, allocations: 0.7052 MB / 393.9 MB, free: 2.633 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.03229, allocations: 100 kB / 394 MB, free: 2.535 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006247/0.03292, allocations: 315.4 kB / 394.3 MB, free: 2.227 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003666/0.03328, allocations: 0.5299 MB / 394.8 MB, free: 1.695 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003913/0.03367, allocations: 407.1 kB / 395.2 MB, free: 1.297 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.03496, allocations: 1.11 MB / 396.3 MB, free: 188 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.03497, allocations: 0 / 396.3 MB, free: 188 kB / 362.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.03497, allocations: 0 / 396.3 MB, free: 188 kB / 362.7 MB Notification: Performance of Transformations before backend: time 2.545e-05/0.03499, allocations: 0 / 396.3 MB, free: 188 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.002174/0.03717, allocations: 1.545 MB / 397.9 MB, free: 14.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.03721, allocations: 15.98 kB / 397.9 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000634/0.03784, allocations: 260 kB / 398.2 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.03898, allocations: 0.8648 MB / 399 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/0.03903, allocations: 61.98 kB / 399.1 MB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.03916, allocations: 87.98 kB / 399.2 MB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.04021, allocations: 0.8809 MB / 400.1 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.04024, allocations: 3.953 kB / 400.1 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.189e-05/0.0403, allocations: 39.98 kB / 400.1 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001671/0.04047, allocations: 85.94 kB / 400.2 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007733/0.04124, allocations: 451.3 kB / 400.6 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004624/0.04586, allocations: 4.89 MB / 405.5 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006311/0.0465, allocations: 344.7 kB / 405.8 MB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/0.04683, allocations: 172.8 kB / 406 MB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.644e-05/0.04687, allocations: 16.44 kB / 406 MB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004484/0.04732, allocations: 300.1 kB / 406.3 MB, free: 5.766 MB / 378.7 MB Notification: Performance of pre-optimization done (n=62): time 2.826e-06/0.04732, allocations: 0 / 406.3 MB, free: 5.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.003065/0.05039, allocations: 1.608 MB / 407.9 MB, free: 4.109 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.05046, allocations: 107.5 kB / 408 MB, free: 3.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007188/0.05118, allocations: 0.7101 MB / 408.7 MB, free: 3.258 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.05122, allocations: 37.7 kB / 408.8 MB, free: 3.215 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003705/0.05159, allocations: 0.5807 MB / 409.4 MB, free: 2.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.05178, allocations: 249.9 kB / 409.6 MB, free: 2.379 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/0.05202, allocations: 188.2 kB / 409.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002212/0.05224, allocations: 0.5821 MB / 410.4 MB, free: 1.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.05255, allocations: 149.8 kB / 410.5 MB, free: 1.449 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/0.05309, allocations: 0.5814 MB / 411.1 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008728/0.05396, allocations: 0.7495 MB / 411.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.05397, allocations: 4 kB / 411.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001941/0.05591, allocations: 1.05 MB / 412.9 MB, free: 14.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.05594, allocations: 8 kB / 412.9 MB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.05595, allocations: 8 kB / 412.9 MB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/0.05724, allocations: 431.3 kB / 413.3 MB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/0.05771, allocations: 171.7 kB / 413.5 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006061/0.06377, allocations: 5.581 MB / 419.1 MB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/0.06425, allocations: 43.97 kB / 419.1 MB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-05/0.06433, allocations: 47.98 kB / 419.2 MB, free: 8.172 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * 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 {(6,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0003086/0.06464, allocations: 216.2 kB / 419.4 MB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.06479, allocations: 103.4 kB / 419.5 MB, free: 7.848 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.06599, allocations: 0.6298 MB / 420.1 MB, free: 7.195 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.066, allocations: 8 kB / 420.1 MB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.066, allocations: 0 / 420.1 MB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.06601, allocations: 7.984 kB / 420.1 MB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/0.06846, allocations: 1.431 MB / 421.6 MB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.06846, allocations: 0 / 421.6 MB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004961/0.06896, allocations: 127.8 kB / 421.7 MB, free: 5.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003728/0.06933, allocations: 131 kB / 421.8 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.663e-05/0.06939, allocations: 23.98 kB / 421.8 MB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00309/0.07248, allocations: 5.458 MB / 427.3 MB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.07248, allocations: 4 kB / 427.3 MB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.07386, allocations: 0.9328 MB / 428.2 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002482/0.07411, allocations: 127.4 kB / 428.4 MB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.044e-05/0.07419, allocations: 19.98 kB / 428.4 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.07448, allocations: 27.97 kB / 428.4 MB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.07461, allocations: 60.47 kB / 428.5 MB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.755e-05/0.07466, allocations: 23.98 kB / 428.5 MB, free: 14.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004519/0.07511, allocations: 430.9 kB / 428.9 MB, free: 13.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07511, allocations: 0 / 428.9 MB, free: 13.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009788/0.07609, allocations: 279.9 kB / 429.2 MB, free: 13.63 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001153/0.07724, allocations: 474.5 kB / 429.7 MB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00175/0.07899, allocations: 1.078 MB / 430.7 MB, free: 12.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.079, allocations: 5.438 kB / 430.7 MB, free: 12.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008118/0.07981, allocations: 0.802 MB / 431.5 MB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007941/0.0806, allocations: 213.3 kB / 431.7 MB, free: 11.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/0.08452, allocations: 2.164 MB / 433.9 MB, free: 8.918 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.0848, allocations: 280.7 kB / 434.2 MB, free: 8.625 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005215/0.08532, allocations: 198.9 kB / 434.4 MB, free: 8.426 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.08549, allocations: 72.42 kB / 434.4 MB, free: 8.352 MB / 410.7 MB Notification: Performance of SimCode: time 1.293e-06/0.08549, allocations: 0 / 434.4 MB, free: 8.352 MB / 410.7 MB Notification: Performance of Templates: time 0.1461/0.2316, allocations: 14.2 MB / 448.7 MB, free: 94.01 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6700113979168236]