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.001435/0.001435, 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.001712/0.001712, allocations: 165 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.9959/0.9959, allocations: 177.1 MB / 205 MB, free: 5.289 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.2415/0.2415, allocations: 29.42 MB / 290.9 MB, free: 2.441 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 2.124e-06/2.124e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.918e-05, allocations: 4.703 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol): time 0.01013/0.01016, allocations: 7.319 MB / 376.9 MB, free: 3.645 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007498/0.01766, allocations: 5.115 MB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008183/0.01848, allocations: 47.62 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008051/0.02653, allocations: 6.467 MB / 388.6 MB, free: 7.984 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001001/0.02753, allocations: 0.6018 MB / 389.2 MB, free: 7.379 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009927/0.02852, allocations: 0.6041 MB / 389.8 MB, free: 6.773 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002168/0.03069, allocations: 2.771 MB / 392.6 MB, free: 3.996 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009947/0.03169, allocations: 1.218 MB / 393.8 MB, free: 2.758 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000845/0.03253, allocations: 1.002 MB / 394.8 MB, free: 1.754 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007229/0.03326, allocations: 0.7947 MB / 395.6 MB, free: 0.957 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.03341, allocations: 144 kB / 395.7 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000343/0.03375, allocations: 271.7 kB / 396 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003456/0.0341, allocations: 0.561 MB / 396.5 MB, free: 15.99 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003685/0.03447, allocations: 486.9 kB / 397 MB, free: 15.51 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.0356, allocations: 1.269 MB / 398.3 MB, free: 14.24 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.0356, allocations: 0 / 398.3 MB, free: 14.24 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.0356, allocations: 0 / 398.3 MB, free: 14.24 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.03562, allocations: 0 / 398.3 MB, free: 14.24 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.002132/0.03775, allocations: 1.79 MB / 400.1 MB, free: 12.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.03778, allocations: 15.98 kB / 400.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005124/0.0383, allocations: 251.9 kB / 400.3 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.03966, allocations: 1.056 MB / 401.4 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.151e-05/0.0397, allocations: 70 kB / 401.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.03982, allocations: 91.98 kB / 401.5 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.04091, allocations: 0.956 MB / 402.5 MB, free: 9.844 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.04093, allocations: 7.953 kB / 402.5 MB, free: 9.836 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.645e-05/0.041, allocations: 36 kB / 402.5 MB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001802/0.04118, allocations: 93.92 kB / 402.6 MB, free: 9.711 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007759/0.04196, allocations: 467.5 kB / 403.1 MB, free: 9.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003998/0.04595, allocations: 4.333 MB / 407.4 MB, free: 4.766 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006429/0.0466, allocations: 469 kB / 407.9 MB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003452/0.04694, allocations: 244.5 kB / 408.1 MB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.318e-05/0.047, allocations: 16.64 kB / 408.1 MB, free: 4.004 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004607/0.04746, allocations: 390.9 kB / 408.5 MB, free: 3.598 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 1.764e-06/0.04746, allocations: 0 / 408.5 MB, free: 3.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=81): time 0.004125/0.05158, allocations: 2.528 MB / 411.1 MB, free: 1.012 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.05165, allocations: 196.6 kB / 411.2 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005978/0.05225, allocations: 0.757 MB / 412 MB, free: 8 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/0.05231, allocations: 41.7 kB / 412 MB, free: 15.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.05259, allocations: 0.5812 MB / 412.6 MB, free: 15.37 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.05276, allocations: 313.3 kB / 412.9 MB, free: 15.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002033/0.05296, allocations: 188.2 kB / 413.1 MB, free: 14.87 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.0531, allocations: 0.5199 MB / 413.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.0534, allocations: 191.6 kB / 413.8 MB, free: 14.15 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/0.05388, allocations: 0.6 MB / 414.4 MB, free: 13.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000792/0.05467, allocations: 0.7441 MB / 415.2 MB, free: 12.53 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.05467, allocations: 0 / 415.2 MB, free: 12.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.004145/0.05882, allocations: 2.057 MB / 417.2 MB, free: 10.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.05883, allocations: 8 kB / 417.2 MB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.05884, allocations: 8 kB / 417.2 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00699/0.06583, allocations: 3.007 MB / 420.2 MB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.0662, allocations: 135.8 kB / 420.4 MB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009124/0.07532, allocations: 7.786 MB / 428.2 MB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003555/0.07568, allocations: 47.97 kB / 428.2 MB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-05/0.07575, allocations: 47.98 kB / 428.3 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004851/0.07623, allocations: 328.8 kB / 428.6 MB, free: 14.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004743/0.07671, allocations: 0.5999 MB / 429.2 MB, free: 14.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007868/0.07749, allocations: 0.739 MB / 429.9 MB, free: 13.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.418e-06/0.0775, allocations: 8 kB / 429.9 MB, free: 13.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.004112/0.08161, allocations: 2.022 MB / 431.9 MB, free: 11.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.08162, allocations: 8 kB / 432 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.08163, allocations: 8.312 kB / 432 MB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006761/0.08839, allocations: 2.987 MB / 434.9 MB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.08869, allocations: 147.7 kB / 435.1 MB, free: 8.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009074/0.09776, allocations: 7.704 MB / 442.8 MB, free: 76 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/0.09816, allocations: 55.91 kB / 442.9 MB, free: 20 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1497/0.2478, allocations: 51.03 kB / 442.9 MB, free: 91.66 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.0002806/0.2481, allocations: 321.6 kB / 443.2 MB, free: 91.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002285/0.2483, allocations: 129.5 kB / 443.3 MB, free: 91.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.2498, allocations: 0.929 MB / 444.3 MB, free: 91.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.2498, allocations: 9.719 kB / 444.3 MB, free: 91.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.2498, allocations: 3.219 kB / 444.3 MB, free: 91.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.2498, allocations: 7.438 kB / 444.3 MB, free: 91.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002279/0.2521, allocations: 1.815 MB / 446.1 MB, free: 90.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2521, allocations: 2.875 kB / 446.1 MB, free: 90.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004932/0.2526, allocations: 162.5 kB / 446.3 MB, free: 90.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000706/0.2533, allocations: 336.1 kB / 446.6 MB, free: 90.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.028e-05/0.2533, allocations: 32.19 kB / 446.6 MB, free: 90.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002375/0.2557, allocations: 7.377 MB / 454 MB, free: 84.04 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2557, allocations: 0 / 454 MB, free: 84.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.2572, allocations: 1.277 MB / 455.3 MB, free: 83.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.2574, allocations: 180.2 kB / 455.5 MB, free: 83.72 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/0.2575, allocations: 24.8 kB / 455.5 MB, free: 83.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.2578, allocations: 44.67 kB / 455.5 MB, free: 83.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.2579, allocations: 67.72 kB / 455.6 MB, free: 83.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.062e-05/0.2579, allocations: 33.62 kB / 455.6 MB, free: 83.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003081/0.2582, allocations: 467 kB / 456.1 MB, free: 83.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2582, allocations: 0 / 456.1 MB, free: 83.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001304/0.2595, allocations: 0.5661 MB / 456.6 MB, free: 83.58 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.0009091/0.2604, allocations: 487.8 kB / 457.1 MB, free: 83.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00293/0.2634, allocations: 2.599 MB / 459.7 MB, free: 82.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2634, allocations: 0 / 459.7 MB, free: 82.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000724/0.2641, allocations: 1.099 MB / 460.8 MB, free: 81.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006641/0.2648, allocations: 249.1 kB / 461.1 MB, free: 81.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.2676, allocations: 2.378 MB / 463.4 MB, free: 80.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.2678, allocations: 337.9 kB / 463.8 MB, free: 80.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004018/0.2682, allocations: 218.3 kB / 464 MB, free: 80.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.2684, allocations: 76.98 kB / 464.1 MB, free: 80.74 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2684, allocations: 0 / 464.1 MB, free: 80.74 MB / 410.7 MB Notification: Performance of Templates: time 0.03086/0.2992, allocations: 31.99 MB / 496.1 MB, free: 74.44 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.207738466095179]