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.0008813/0.0008813, allocations: 84.8 kB / 21.5 MB, free: 2.992 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.0009566/0.0009566, allocations: 171.7 kB / 24.92 MB, free: 8.727 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.9928/0.9928, allocations: 177.1 MB / 205.3 MB, free: 5.055 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.2375/0.2375, allocations: 29.41 MB / 291.2 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_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.363e-06/1.363e-06, allocations: 0 / 316.8 MB, free: 40 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.864e-05, allocations: 7.188 kB / 316.8 MB, free: 32 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol): time 0.008242/0.008261, allocations: 7.235 MB / 324.1 MB, free: 8.758 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006175/0.01444, allocations: 5.165 MB / 329.2 MB, free: 3.574 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000438/0.01487, allocations: 47.62 kB / 329.3 MB, free: 3.527 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00692/0.02179, allocations: 6.361 MB / 335.6 MB, free: 13.15 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009573/0.02275, allocations: 0.6096 MB / 336.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009329/0.02368, allocations: 0.6003 MB / 336.9 MB, free: 11.94 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002676/0.02636, allocations: 2.756 MB / 339.6 MB, free: 9.176 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.02754, allocations: 1.24 MB / 340.8 MB, free: 7.902 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009304/0.02847, allocations: 1.021 MB / 341.9 MB, free: 6.879 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008895/0.02936, allocations: 0.7597 MB / 342.6 MB, free: 6.117 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.02949, allocations: 143.9 kB / 342.8 MB, free: 5.977 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003448/0.02983, allocations: 275.7 kB / 343 MB, free: 5.707 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003251/0.03016, allocations: 0.5493 MB / 343.6 MB, free: 5.156 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003302/0.03049, allocations: 482.9 kB / 344.1 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.03152, allocations: 1.261 MB / 345.3 MB, free: 3.418 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.03152, allocations: 0 / 345.3 MB, free: 3.418 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.03152, allocations: 4 kB / 345.3 MB, free: 3.414 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.03153, allocations: 0 / 345.3 MB, free: 3.414 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.002303/0.03383, allocations: 1.536 MB / 346.9 MB, free: 1.848 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.03386, allocations: 11.98 kB / 346.9 MB, free: 1.836 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005764/0.03444, allocations: 188.8 kB / 347.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.03587, allocations: 0.8196 MB / 347.9 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.874e-05/0.03593, allocations: 65.98 kB / 347.9 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.0361, allocations: 99.94 kB / 348 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.03727, allocations: 0.8635 MB / 348.9 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.8e-05/0.0373, allocations: 0 / 348.9 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.265e-05/0.03739, allocations: 39.98 kB / 348.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002129/0.0376, allocations: 85.88 kB / 349 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007133/0.03831, allocations: 328.5 kB / 349.3 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00452/0.04283, allocations: 3.152 MB / 352.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006663/0.0435, allocations: 425.7 kB / 352.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003414/0.04384, allocations: 172.5 kB / 353.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.483e-05/0.04391, allocations: 24.64 kB / 353.1 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004627/0.04437, allocations: 343.5 kB / 353.4 MB, free: 10.97 MB / 330.7 MB Notification: Performance of pre-optimization done (n=79): time 2.304e-06/0.04437, allocations: 4 kB / 353.4 MB, free: 10.97 MB / 330.7 MB Notification: Performance of matching and sorting (n=81): time 0.004311/0.04868, allocations: 1.603 MB / 355 MB, free: 9.316 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.571e-05/0.04877, allocations: 196.6 kB / 355.2 MB, free: 9.082 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006863/0.04945, allocations: 0.6886 MB / 355.9 MB, free: 8.379 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.192e-05/0.04953, allocations: 41.7 kB / 356 MB, free: 8.332 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/0.04978, allocations: 430.3 kB / 356.4 MB, free: 7.906 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.05, allocations: 297.4 kB / 356.7 MB, free: 7.613 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002913/0.05029, allocations: 178.5 kB / 356.9 MB, free: 7.434 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.0504, allocations: 345.9 kB / 357.2 MB, free: 7.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002944/0.0507, allocations: 135.6 kB / 357.3 MB, free: 6.953 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/0.05115, allocations: 453 kB / 357.8 MB, free: 6.395 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008163/0.05197, allocations: 0.5716 MB / 358.3 MB, free: 5.727 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.05197, allocations: 0 / 358.3 MB, free: 5.727 MB / 330.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.004585/0.05656, allocations: 1.467 MB / 359.8 MB, free: 4.238 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.05657, allocations: 8 kB / 359.8 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.05659, allocations: 11.98 kB / 359.8 MB, free: 4.219 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00956/0.06615, allocations: 2.428 MB / 362.3 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004205/0.06657, allocations: 135.8 kB / 362.4 MB, free: 1.652 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/0.07807, allocations: 5.855 MB / 368.2 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005485/0.07861, allocations: 39.98 kB / 368.3 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.484e-05/0.0787, allocations: 39.98 kB / 368.3 MB, free: 11.53 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000504/0.0792, allocations: 223.7 kB / 368.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004444/0.07965, allocations: 449 kB / 369 MB, free: 10.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007577/0.08041, allocations: 0.5765 MB / 369.6 MB, free: 10.08 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.947e-06/0.08041, allocations: 0 / 369.6 MB, free: 10.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.005886/0.0863, allocations: 1.43 MB / 371 MB, free: 8.633 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.08631, allocations: 11.94 kB / 371 MB, free: 8.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.08632, allocations: 8 kB / 371 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008897/0.09522, allocations: 2.405 MB / 373.4 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004461/0.09567, allocations: 139.7 kB / 373.5 MB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01083/0.1065, allocations: 5.793 MB / 379.3 MB, free: 80 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005514/0.107, allocations: 43.92 kB / 379.4 MB, free: 36 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.1072, allocations: 40.03 kB / 379.4 MB, free: 15.99 MB / 362.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.0002117/0.1074, allocations: 232.1 kB / 379.6 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.1075, allocations: 87.81 kB / 379.7 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.1085, allocations: 0.7191 MB / 380.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1085, allocations: 15.88 kB / 380.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1085, allocations: 4 kB / 380.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.1086, allocations: 11.97 kB / 380.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.1104, allocations: 1.308 MB / 381.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.1104, allocations: 0 / 381.8 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004499/0.1108, allocations: 147.8 kB / 381.9 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006668/0.1115, allocations: 325.2 kB / 382.2 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.766e-05/0.1115, allocations: 27.92 kB / 382.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002402/0.1139, allocations: 5.081 MB / 387.4 MB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1139, allocations: 0 / 387.4 MB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.115, allocations: 0.9789 MB / 388.3 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/0.1152, allocations: 139.3 kB / 388.5 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.909e-05/0.1153, allocations: 20 kB / 388.5 MB, free: 6.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.1156, allocations: 27.92 kB / 388.5 MB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.1157, allocations: 68.86 kB / 388.6 MB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/0.1157, allocations: 31.98 kB / 388.6 MB, free: 6.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002652/0.116, allocations: 308.5 kB / 388.9 MB, free: 5.969 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.116, allocations: 0 / 388.9 MB, free: 5.969 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001173/0.1171, allocations: 0.5662 MB / 389.5 MB, free: 5.402 MB / 362.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.00138/0.1185, allocations: 0.5906 MB / 390.1 MB, free: 5.105 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00317/0.1217, allocations: 2.094 MB / 392.2 MB, free: 2.957 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.887e-05/0.1217, allocations: 8 kB / 392.2 MB, free: 2.949 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008126/0.1225, allocations: 0.8181 MB / 393 MB, free: 2.078 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007222/0.1232, allocations: 251.4 kB / 393.2 MB, free: 1.848 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00317/0.1264, allocations: 2.174 MB / 395.4 MB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.1267, allocations: 333.2 kB / 395.7 MB, free: 15.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004474/0.1272, allocations: 151.7 kB / 395.9 MB, free: 15.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00042/0.1276, allocations: 249.2 kB / 396.1 MB, free: 14.88 MB / 378.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1276, allocations: 0 / 396.1 MB, free: 14.88 MB / 378.7 MB Notification: Performance of Templates: time 0.03614/0.1637, allocations: 33.41 MB / 429.5 MB, free: 13.73 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 4.046171283349395]