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.0008592/0.0008592, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009851/0.0009851, allocations: 169 kB / 24.91 MB, free: 8.723 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 0.9897/0.9897, allocations: 177.1 MB / 205.3 MB, free: 4.488 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.1601/0.1601, allocations: 29.42 MB / 291.2 MB, free: 2.691 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.462e-06/1.462e-06, allocations: 0 / 316.9 MB, free: 9.012 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.734e-05/1.881e-05, allocations: 2.312 kB / 316.9 MB, free: 9.008 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol): time 0.006981/0.007, allocations: 7.292 MB / 324.2 MB, free: 1.676 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007603/0.0146, allocations: 5.161 MB / 329.3 MB, free: 12.5 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008192/0.01542, allocations: 47.62 kB / 329.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00857/0.02399, allocations: 6.26 MB / 335.6 MB, free: 6.176 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.02537, allocations: 0.6018 MB / 336.2 MB, free: 5.57 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.02652, allocations: 0.6003 MB / 336.8 MB, free: 4.969 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002859/0.02938, allocations: 2.76 MB / 339.6 MB, free: 2.203 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/0.03075, allocations: 1.224 MB / 340.8 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1421/0.1728, allocations: 1.006 MB / 341.8 MB, free: 26.82 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0019/0.1747, allocations: 0.7608 MB / 342.6 MB, free: 26.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005145/0.1752, allocations: 142.3 kB / 342.7 MB, free: 26.82 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007751/0.176, allocations: 271.4 kB / 343 MB, free: 26.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005616/0.1766, allocations: 0.5565 MB / 343.6 MB, free: 26.82 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008596/0.1774, allocations: 481.9 kB / 344 MB, free: 26.82 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002105/0.1795, allocations: 1.262 MB / 345.3 MB, free: 26.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1795, allocations: 0 / 345.3 MB, free: 26.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1795, allocations: 0 / 345.3 MB, free: 26.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.015e-05/0.1796, allocations: 0 / 345.3 MB, free: 26.76 MB / 314.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.002931/0.1825, allocations: 1.533 MB / 346.8 MB, free: 26.03 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1825, allocations: 13.55 kB / 346.8 MB, free: 26.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006637/0.1832, allocations: 185.4 kB / 347 MB, free: 26.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.1847, allocations: 0.823 MB / 347.8 MB, free: 25.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.043e-05/0.1848, allocations: 67.77 kB / 347.9 MB, free: 25.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.1849, allocations: 93.69 kB / 348 MB, free: 25.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.186, allocations: 0.8715 MB / 348.9 MB, free: 25.42 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.186, allocations: 8.641 kB / 348.9 MB, free: 25.42 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.642e-05/0.1861, allocations: 36.67 kB / 348.9 MB, free: 25.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001896/0.1863, allocations: 80.81 kB / 349 MB, free: 25.42 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006863/0.1869, allocations: 331.8 kB / 349.3 MB, free: 25.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00392/0.1909, allocations: 3.162 MB / 352.5 MB, free: 23.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/0.1914, allocations: 418 kB / 352.9 MB, free: 23.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.1917, allocations: 175.7 kB / 353.1 MB, free: 23.72 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.998e-05/0.1917, allocations: 20 kB / 353.1 MB, free: 23.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004096/0.1921, allocations: 347.8 kB / 353.4 MB, free: 23.63 MB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 2.665e-06/0.1921, allocations: 3.969 kB / 353.4 MB, free: 23.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=81): time 0.003668/0.1958, allocations: 1.603 MB / 355 MB, free: 23.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.1958, allocations: 191.9 kB / 355.2 MB, free: 23.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005409/0.1964, allocations: 0.6814 MB / 355.9 MB, free: 22.94 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.721e-05/0.1964, allocations: 41.58 kB / 355.9 MB, free: 22.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.1966, allocations: 431.7 kB / 356.4 MB, free: 22.65 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.1968, allocations: 308.2 kB / 356.7 MB, free: 22.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002255/0.197, allocations: 177.9 kB / 356.8 MB, free: 22.44 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.379e-05/0.197, allocations: 344.1 kB / 357.2 MB, free: 22.13 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.1973, allocations: 136.3 kB / 357.3 MB, free: 22.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.1976, allocations: 452.7 kB / 357.7 MB, free: 21.75 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.1982, allocations: 0.5761 MB / 358.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1982, allocations: 3.781 kB / 358.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003831/0.202, allocations: 1.465 MB / 359.8 MB, free: 21.24 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.202, allocations: 10.62 kB / 359.8 MB, free: 21.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.202, allocations: 6.625 kB / 359.8 MB, free: 21.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006937/0.209, allocations: 2.422 MB / 362.2 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004981/0.2095, allocations: 163.7 kB / 362.4 MB, free: 19.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008243/0.2177, allocations: 5.896 MB / 368.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005981/0.2183, allocations: 35.92 kB / 368.3 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.538e-05/0.2184, allocations: 39.98 kB / 368.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004901/0.2189, allocations: 227.7 kB / 368.6 MB, free: 13.15 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003082/0.2192, allocations: 446 kB / 369 MB, free: 12.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006381/0.2198, allocations: 0.5694 MB / 369.6 MB, free: 12 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.44e-06/0.2198, allocations: 4 kB / 369.6 MB, free: 12 MB / 314.7 MB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.003708/0.2235, allocations: 1.434 MB / 371 MB, free: 10.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2235, allocations: 8 kB / 371 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2236, allocations: 14.61 kB / 371 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006001/0.2296, allocations: 2.407 MB / 373.4 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.2299, allocations: 168.1 kB / 373.6 MB, free: 8.078 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006115/0.236, allocations: 5.85 MB / 379.5 MB, free: 2.168 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005474/0.2366, allocations: 35.94 kB / 379.5 MB, free: 2.133 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/0.2366, allocations: 39.98 kB / 379.5 MB, free: 2.094 MB / 314.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,PI_i_q.I.local_reset,$whenCondition1) * 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.0002017/0.2368, allocations: 233.6 kB / 379.8 MB, free: 1.867 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.2369, allocations: 87.91 kB / 379.8 MB, free: 1.781 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009755/0.2379, allocations: 0.724 MB / 380.6 MB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.2379, allocations: 12 kB / 380.6 MB, free: 1.039 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2379, allocations: 0 / 380.6 MB, free: 1.039 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.2379, allocations: 7.984 kB / 380.6 MB, free: 1.031 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.2397, allocations: 1.31 MB / 381.9 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.2397, allocations: 3.984 kB / 381.9 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005365/0.2403, allocations: 173.3 kB / 382.1 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006924/0.2409, allocations: 329.3 kB / 382.4 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-05/0.241, allocations: 23.98 kB / 382.4 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002951/0.244, allocations: 5.093 MB / 387.5 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.244, allocations: 10.38 kB / 387.5 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.2453, allocations: 0.9763 MB / 388.5 MB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.2456, allocations: 131.3 kB / 388.6 MB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.641e-05/0.2457, allocations: 23.98 kB / 388.7 MB, free: 8.695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/0.2459, allocations: 24 kB / 388.7 MB, free: 8.672 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/0.2461, allocations: 84.27 kB / 388.8 MB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/0.2462, allocations: 19.98 kB / 388.8 MB, free: 8.574 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003525/0.2465, allocations: 316.4 kB / 389.1 MB, free: 8.309 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2465, allocations: 0 / 389.1 MB, free: 8.309 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001791/0.2483, allocations: 0.565 MB / 389.7 MB, free: 7.746 MB / 330.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.00135/0.2496, allocations: 0.5874 MB / 390.2 MB, free: 7.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00361/0.2533, allocations: 2.094 MB / 392.3 MB, free: 5.426 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.978e-05/0.2533, allocations: 16.12 kB / 392.3 MB, free: 5.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007263/0.254, allocations: 0.811 MB / 393.2 MB, free: 4.578 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007667/0.2548, allocations: 271.2 kB / 393.4 MB, free: 4.324 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003294/0.2581, allocations: 2.156 MB / 395.6 MB, free: 2.168 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.2584, allocations: 338.4 kB / 395.9 MB, free: 1.812 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000504/0.2589, allocations: 143.7 kB / 396.1 MB, free: 1.668 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004652/0.2594, allocations: 261.1 kB / 396.3 MB, free: 1.414 MB / 330.7 MB Notification: Performance of SimCode: time 1.623e-06/0.2594, allocations: 0 / 396.3 MB, free: 1.414 MB / 330.7 MB Notification: Performance of Templates: time 0.03718/0.2966, allocations: 33.63 MB / 429.9 MB, free: 148 kB / 362.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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.8029175219126046]