Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.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.001455/0.001455, allocations: 84.34 kB / 20.95 MB, free: 3.449 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.001538/0.001538, allocations: 165.3 kB / 24.27 MB, free: 144 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.47/1.47, allocations: 177.1 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.3393/0.3393, allocations: 29.41 MB / 290.5 MB, free: 2.426 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_icontrol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.874e-05, allocations: 2.312 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol): time 0.01053/0.01056, allocations: 7.136 MB / 376 MB, free: 4.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009559/0.02012, allocations: 4.9 MB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008555/0.02097, allocations: 47.62 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0136/0.03457, allocations: 6.502 MB / 387.5 MB, free: 8.641 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.03665, allocations: 0.6057 MB / 388.1 MB, free: 8.031 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.03832, allocations: 0.5963 MB / 388.7 MB, free: 7.434 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004723/0.04305, allocations: 2.783 MB / 391.5 MB, free: 4.645 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.04488, allocations: 1.206 MB / 392.7 MB, free: 3.418 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.04675, allocations: 1.001 MB / 393.7 MB, free: 2.414 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/0.04812, allocations: 0.7947 MB / 394.5 MB, free: 1.617 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002572/0.04838, allocations: 144 kB / 394.6 MB, free: 1.477 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006644/0.04904, allocations: 275.7 kB / 394.9 MB, free: 1.207 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006557/0.0497, allocations: 0.5493 MB / 395.4 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006831/0.05038, allocations: 482.9 kB / 395.9 MB, free: 188 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002822/0.0532, allocations: 2.01 MB / 397.9 MB, free: 14.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.05321, allocations: 0 / 397.9 MB, free: 14.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.05321, allocations: 0 / 397.9 MB, free: 14.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.45e-05/0.05325, allocations: 0 / 397.9 MB, free: 14.17 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: 231 * Number of variables: 231 Notification: Performance of Generate backend data structure: time 0.004454/0.05771, allocations: 1.683 MB / 399.6 MB, free: 12.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.05776, allocations: 11.98 kB / 399.6 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009052/0.05867, allocations: 255.9 kB / 399.8 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002962/0.06163, allocations: 1.076 MB / 400.9 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.017e-05/0.06171, allocations: 65.98 kB / 401 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.06192, allocations: 92 kB / 401.1 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002627/0.06455, allocations: 1.415 MB / 402.5 MB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/0.06459, allocations: 7.953 kB / 402.5 MB, free: 9.426 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.06472, allocations: 35.98 kB / 402.5 MB, free: 9.391 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003628/0.06509, allocations: 97.92 kB / 402.6 MB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.0673, allocations: 1.132 MB / 403.8 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008275/0.07557, allocations: 4.372 MB / 408.1 MB, free: 3.656 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.07722, allocations: 0.8079 MB / 408.9 MB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009386/0.07815, allocations: 492.3 kB / 409.4 MB, free: 2.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.231e-05/0.07823, allocations: 12.66 kB / 409.4 MB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001155/0.07938, allocations: 0.6178 MB / 410.1 MB, free: 1.676 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 2.405e-06/0.07938, allocations: 4 kB / 410.1 MB, free: 1.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=81): time 0.01033/0.08971, allocations: 3.774 MB / 413.8 MB, free: 13.85 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001482/0.08986, allocations: 192.6 kB / 414 MB, free: 13.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.09113, allocations: 0.7825 MB / 414.8 MB, free: 12.83 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.09124, allocations: 41.7 kB / 414.8 MB, free: 12.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006389/0.09188, allocations: 0.5277 MB / 415.4 MB, free: 12.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003435/0.09222, allocations: 297.5 kB / 415.7 MB, free: 11.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000359/0.09258, allocations: 186.5 kB / 415.8 MB, free: 11.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.09278, allocations: 341.9 kB / 416.2 MB, free: 11.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.09387, allocations: 492.6 kB / 416.7 MB, free: 10.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.09514, allocations: 0.7978 MB / 417.5 MB, free: 10.03 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/0.09728, allocations: 1.223 MB / 418.7 MB, free: 8.711 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.09729, allocations: 4 kB / 418.7 MB, free: 8.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01018/0.1075, allocations: 2.821 MB / 421.5 MB, free: 5.871 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/0.1075, allocations: 8 kB / 421.5 MB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/0.1075, allocations: 8 kB / 421.5 MB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01614/0.1237, allocations: 3.357 MB / 424.9 MB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007854/0.1245, allocations: 139.8 kB / 425 MB, free: 2.352 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02556/0.15, allocations: 12.17 MB / 437.2 MB, free: 5.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009602/0.151, allocations: 55.95 kB / 437.2 MB, free: 5.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/0.1511, allocations: 47.98 kB / 437.3 MB, free: 5.879 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001472/0.1526, allocations: 0.7517 MB / 438 MB, free: 5.121 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001214/0.1538, allocations: 0.7862 MB / 438.8 MB, free: 4.219 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002072/0.1559, allocations: 1.203 MB / 440 MB, free: 2.926 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.879e-06/0.1559, allocations: 0 / 440 MB, free: 2.926 MB / 410.7 MB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.009597/0.1655, allocations: 2.743 MB / 442.8 MB, free: 172 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1655, allocations: 8 kB / 442.8 MB, free: 164 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.1655, allocations: 4 kB / 442.8 MB, free: 160 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1831/0.3486, allocations: 3.326 MB / 446.1 MB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006961/0.3493, allocations: 141.5 kB / 446.2 MB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01754/0.3669, allocations: 11.93 MB / 458.2 MB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009778/0.3679, allocations: 52.62 kB / 458.2 MB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.917e-05/0.3679, allocations: 47.45 kB / 458.3 MB, free: 103.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,$whenCondition1,PI_i_q.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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 {(9,40)} Notification: Performance of prepare postOptimizeDAE: time 0.0003668/0.3683, allocations: 242.1 kB / 458.5 MB, free: 103 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/0.3685, allocations: 133.1 kB / 458.6 MB, free: 103 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002846/0.3714, allocations: 1.475 MB / 460.1 MB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.3714, allocations: 18.78 kB / 460.1 MB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.3714, allocations: 3.031 kB / 460.1 MB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.3714, allocations: 6.844 kB / 460.1 MB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004851/0.3763, allocations: 2.467 MB / 462.6 MB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.3763, allocations: 3.312 kB / 462.6 MB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001447/0.3777, allocations: 169.4 kB / 462.8 MB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00219/0.3799, allocations: 441.2 kB / 463.2 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/0.3801, allocations: 32.78 kB / 463.2 MB, free: 101.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006454/0.3865, allocations: 6.285 MB / 469.5 MB, free: 95.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3865, allocations: 0 / 469.5 MB, free: 95.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005398/0.3919, allocations: 2.148 MB / 471.7 MB, free: 94.93 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007225/0.3926, allocations: 192.5 kB / 471.9 MB, free: 94.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000201/0.3928, allocations: 30.03 kB / 471.9 MB, free: 94.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009121/0.3937, allocations: 51.91 kB / 471.9 MB, free: 94.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003058/0.3941, allocations: 68.73 kB / 472 MB, free: 94.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.3942, allocations: 32.47 kB / 472 MB, free: 94.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009455/0.3951, allocations: 0.5281 MB / 472.6 MB, free: 94.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3951, allocations: 0 / 472.6 MB, free: 94.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003012/0.3981, allocations: 0.5651 MB / 473.1 MB, free: 94.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (asm_ctrl.rotor.phi,asm_ctrl.rotor.w,asm_ctrl.motor.i[3],asm_ctrl.motor.psi_s[1],asm_ctrl.motor.psi_s[2],asm_ctrl.motor.psi_rd[1],asm_ctrl.motor.psi_rd[2],asm_ctrl.motor.psi_rq[1],asm_ctrl.motor.psi_rq[2],asm_ctrl.motor.phiRotorflux,tabLoad.s,PI_i_q.I.y) * 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 (82): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (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.002671/0.4008, allocations: 0.508 MB / 473.6 MB, free: 94.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006008/0.4068, allocations: 3.111 MB / 476.7 MB, free: 92.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.4068, allocations: 3.188 kB / 476.8 MB, free: 92.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001626/0.4084, allocations: 1.1 MB / 477.9 MB, free: 92.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.4098, allocations: 247.6 kB / 478.1 MB, free: 92.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005119/0.4149, allocations: 2.747 MB / 480.8 MB, free: 90.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008592/0.4157, allocations: 0.6496 MB / 481.5 MB, free: 90.53 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009159/0.4167, allocations: 243.2 kB / 481.7 MB, free: 90.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.417, allocations: 82.42 kB / 481.8 MB, free: 90.46 MB / 410.7 MB Notification: Performance of SimCode: time 1.953e-06/0.417, allocations: 0 / 481.8 MB, free: 90.46 MB / 410.7 MB Notification: Performance of Templates: time 0.04758/0.4645, allocations: 31.18 MB / 0.501 GB, free: 70.58 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.1514256780501455]