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.0009474/0.0009474, 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.001086/0.001086, 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.051/1.051, allocations: 177.1 MB / 205 MB, free: 5.633 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.2442/0.2442, allocations: 29.42 MB / 290.9 MB, free: 2.488 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.973e-06/1.973e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.683e-05/3.88e-05, allocations: 2.312 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol): time 0.0177/0.01773, allocations: 7.311 MB / 376.9 MB, free: 3.66 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01718/0.03491, allocations: 5.118 MB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009671/0.03588, allocations: 47.62 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02021/0.05608, allocations: 6.494 MB / 388.6 MB, free: 7.973 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00178/0.05786, allocations: 0.6096 MB / 389.2 MB, free: 7.359 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.05914, allocations: 0.6041 MB / 389.8 MB, free: 6.754 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003617/0.06276, allocations: 2.775 MB / 392.6 MB, free: 3.973 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/0.06478, allocations: 1.214 MB / 393.8 MB, free: 2.738 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002466/0.06725, allocations: 1.025 MB / 394.8 MB, free: 1.711 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/0.06861, allocations: 0.7906 MB / 395.6 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003376/0.06895, allocations: 144 kB / 395.8 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006584/0.06961, allocations: 271.7 kB / 396 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004377/0.07005, allocations: 0.5493 MB / 396.6 MB, free: 15.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006071/0.07065, allocations: 486.9 kB / 397.1 MB, free: 15.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.07249, allocations: 1.265 MB / 398.3 MB, free: 14.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.0725, allocations: 0 / 398.3 MB, free: 14.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.0725, allocations: 0 / 398.3 MB, free: 14.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.48e-05/0.07257, allocations: 4 kB / 398.3 MB, free: 14.21 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.002832/0.0754, allocations: 1.778 MB / 400.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.07544, allocations: 11.98 kB / 400.1 MB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005643/0.07601, allocations: 255.9 kB / 400.4 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.07747, allocations: 1.049 MB / 401.4 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.594e-05/0.07752, allocations: 62 kB / 401.5 MB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.07766, allocations: 95.97 kB / 401.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.07888, allocations: 0.9521 MB / 402.5 MB, free: 9.848 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.003e-05/0.07891, allocations: 11.89 kB / 402.5 MB, free: 9.836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.837e-05/0.07898, allocations: 39.92 kB / 402.6 MB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001835/0.07916, allocations: 93.92 kB / 402.7 MB, free: 9.707 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007987/0.07996, allocations: 471.5 kB / 403.1 MB, free: 9.242 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004389/0.08435, allocations: 4.321 MB / 407.4 MB, free: 4.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006666/0.08501, allocations: 477 kB / 407.9 MB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.08536, allocations: 233 kB / 408.1 MB, free: 4.031 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.274e-05/0.08541, allocations: 16.64 kB / 408.2 MB, free: 4.012 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004764/0.08589, allocations: 399 kB / 408.5 MB, free: 3.598 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 4.779e-06/0.08589, allocations: 3.984 kB / 408.5 MB, free: 3.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=81): time 0.004449/0.09034, allocations: 2.521 MB / 411.1 MB, free: 1.012 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.09042, allocations: 196.6 kB / 411.3 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006753/0.09109, allocations: 0.7532 MB / 412 MB, free: 12 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.961e-05/0.09116, allocations: 41.7 kB / 412.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.09147, allocations: 0.589 MB / 412.6 MB, free: 15.37 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.09166, allocations: 317.4 kB / 413 MB, free: 15.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.09187, allocations: 188.2 kB / 413.1 MB, free: 14.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.092, allocations: 0.5199 MB / 413.7 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.0923, allocations: 191.5 kB / 413.8 MB, free: 14.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004628/0.09277, allocations: 0.5962 MB / 414.4 MB, free: 13.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007718/0.09354, allocations: 0.7468 MB / 415.2 MB, free: 12.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.09354, allocations: 0 / 415.2 MB, free: 12.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.004254/0.0978, allocations: 2.053 MB / 417.2 MB, free: 10.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/0.09783, allocations: 8 kB / 417.2 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.09785, allocations: 8.312 kB / 417.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007328/0.1052, allocations: 3.007 MB / 420.3 MB, free: 7.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004226/0.1056, allocations: 139.7 kB / 420.4 MB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009617/0.1152, allocations: 7.77 MB / 428.2 MB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005859/0.1158, allocations: 43.97 kB / 428.2 MB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.447e-05/0.1159, allocations: 47.98 kB / 428.3 MB, free: 15.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000502/0.1164, allocations: 328.8 kB / 428.6 MB, free: 14.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004508/0.1168, allocations: 0.596 MB / 429.2 MB, free: 14.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007753/0.1176, allocations: 0.7469 MB / 429.9 MB, free: 13.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.691e-06/0.1176, allocations: 0 / 429.9 MB, free: 13.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.004265/0.1219, allocations: 2.03 MB / 432 MB, free: 11.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1219, allocations: 10.81 kB / 432 MB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.1219, allocations: 8 kB / 432 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007855/0.1297, allocations: 2.988 MB / 435 MB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/0.1303, allocations: 143.8 kB / 435.1 MB, free: 8.023 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.1421, allocations: 7.707 MB / 442.8 MB, free: 84 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007399/0.1429, allocations: 51.95 kB / 442.9 MB, free: 32 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.172/0.3148, allocations: 43.44 kB / 442.9 MB, free: 91.91 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.0005004/0.3153, allocations: 321.2 kB / 443.2 MB, free: 91.64 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/0.3156, allocations: 126.6 kB / 443.3 MB, free: 91.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.3171, allocations: 0.9295 MB / 444.3 MB, free: 91.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3171, allocations: 9.625 kB / 444.3 MB, free: 91.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.3171, allocations: 3.219 kB / 444.3 MB, free: 91.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.3171, allocations: 4.047 kB / 444.3 MB, free: 91.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/0.3195, allocations: 1.824 MB / 446.1 MB, free: 91.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.3195, allocations: 0 / 446.1 MB, free: 91.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000657/0.3202, allocations: 162.9 kB / 446.3 MB, free: 91.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009301/0.3211, allocations: 337.4 kB / 446.6 MB, free: 91.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.127e-05/0.3212, allocations: 24.03 kB / 446.6 MB, free: 91.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002557/0.3237, allocations: 7.373 MB / 454 MB, free: 84.28 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3237, allocations: 3.156 kB / 454 MB, free: 84.28 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.3253, allocations: 1.275 MB / 455.3 MB, free: 83.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002514/0.3255, allocations: 180.1 kB / 455.4 MB, free: 83.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.607e-05/0.3256, allocations: 27.72 kB / 455.5 MB, free: 83.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002777/0.3259, allocations: 41.64 kB / 455.5 MB, free: 83.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.326, allocations: 65.95 kB / 455.6 MB, free: 83.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.702e-05/0.3261, allocations: 41.89 kB / 455.6 MB, free: 83.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003624/0.3264, allocations: 467.2 kB / 456.1 MB, free: 83.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3264, allocations: 6.531 kB / 456.1 MB, free: 83.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001536/0.328, allocations: 0.5608 MB / 456.6 MB, free: 83.82 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.0009744/0.3289, allocations: 482 kB / 457.1 MB, free: 83.71 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003266/0.3322, allocations: 2.592 MB / 459.7 MB, free: 82.85 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3322, allocations: 0 / 459.7 MB, free: 82.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007634/0.333, allocations: 1.103 MB / 460.8 MB, free: 82.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006615/0.3336, allocations: 242.1 kB / 461 MB, free: 82.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003544/0.3372, allocations: 2.373 MB / 463.4 MB, free: 81.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.3375, allocations: 344.8 kB / 463.8 MB, free: 81.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004237/0.3379, allocations: 209.2 kB / 464 MB, free: 80.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.3381, allocations: 89.5 kB / 464 MB, free: 80.97 MB / 410.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3381, allocations: 0 / 464 MB, free: 80.97 MB / 410.7 MB Notification: Performance of Templates: time 0.03422/0.3723, allocations: 32.96 MB / 497 MB, free: 74.17 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.1500372546724975]