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.001749/0.001749, allocations: 91.61 kB / 20.96 MB, free: 3.457 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.001904/0.001904, allocations: 165.3 kB / 24.27 MB, free: 148 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.718/1.718, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.3346/0.3346, allocations: 29.41 MB / 290.5 MB, free: 2.414 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.442e-06/1.442e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.761e-05/2.905e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol): time 0.01282/0.01285, allocations: 7.523 MB / 376.4 MB, free: 3.758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01092/0.02377, allocations: 5.091 MB / 381.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.02492, allocations: 47.62 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01526/0.04018, allocations: 6.521 MB / 388.1 MB, free: 8.066 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.04221, allocations: 0.6097 MB / 388.7 MB, free: 7.453 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.04385, allocations: 0.5963 MB / 389.3 MB, free: 6.855 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004891/0.04875, allocations: 2.775 MB / 392 MB, free: 4.074 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001841/0.05059, allocations: 1.21 MB / 393.3 MB, free: 2.844 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.05224, allocations: 1.009 MB / 394.3 MB, free: 1.832 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001432/0.05367, allocations: 0.7986 MB / 395.1 MB, free: 1.031 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003025/0.05397, allocations: 148 kB / 395.2 MB, free: 0.8867 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006958/0.05467, allocations: 271.7 kB / 395.5 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006406/0.05531, allocations: 0.5571 MB / 396 MB, free: 64 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006968/0.056, allocations: 490.9 kB / 396.5 MB, free: 15.58 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003085/0.05909, allocations: 2.014 MB / 398.5 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.05909, allocations: 0 / 398.5 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.0591, allocations: 0 / 398.5 MB, free: 13.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.34e-05/0.05912, allocations: 0 / 398.5 MB, free: 13.56 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.004334/0.06345, allocations: 1.899 MB / 400.4 MB, free: 11.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.06351, allocations: 15.98 kB / 400.4 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008411/0.06435, allocations: 247.9 kB / 400.7 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002667/0.06701, allocations: 1.056 MB / 401.7 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-05/0.06708, allocations: 62 kB / 401.8 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.06728, allocations: 91.98 kB / 401.9 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/0.06949, allocations: 1.171 MB / 403.1 MB, free: 8.859 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/0.06952, allocations: 7.953 kB / 403.1 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.06963, allocations: 36 kB / 403.1 MB, free: 8.816 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003601/0.06999, allocations: 97.92 kB / 403.2 MB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/0.0716, allocations: 0.6986 MB / 403.9 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009397/0.081, allocations: 4.932 MB / 408.8 MB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.08235, allocations: 0.5791 MB / 409.4 MB, free: 2.309 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006983/0.08305, allocations: 293.8 kB / 409.7 MB, free: 2.016 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.413e-05/0.08313, allocations: 16.59 kB / 409.7 MB, free: 2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009508/0.08408, allocations: 486.9 kB / 410.2 MB, free: 1.496 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 3.306e-06/0.08408, allocations: 0 / 410.2 MB, free: 1.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=81): time 0.008947/0.09303, allocations: 2.805 MB / 413 MB, free: 14.64 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/0.0932, allocations: 196.5 kB / 413.2 MB, free: 14.4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.09469, allocations: 0.9875 MB / 414.2 MB, free: 13.4 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.519e-05/0.09479, allocations: 37.7 kB / 414.2 MB, free: 13.36 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006003/0.09539, allocations: 0.636 MB / 414.8 MB, free: 12.71 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003968/0.09579, allocations: 337.4 kB / 415.2 MB, free: 12.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004117/0.0962, allocations: 220.2 kB / 415.4 MB, free: 12.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003329/0.09653, allocations: 0.5473 MB / 415.9 MB, free: 11.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006262/0.09716, allocations: 259.5 kB / 416.2 MB, free: 11.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.09821, allocations: 0.6976 MB / 416.9 MB, free: 10.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.0999, allocations: 0.9264 MB / 417.8 MB, free: 9.441 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.09991, allocations: 4 kB / 417.8 MB, free: 9.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.009477/0.1094, allocations: 2.225 MB / 420 MB, free: 7.191 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.1094, allocations: 8 kB / 420.1 MB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.1094, allocations: 8 kB / 420.1 MB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01617/0.1256, allocations: 3.054 MB / 423.1 MB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007473/0.1263, allocations: 143.7 kB / 423.3 MB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0202/0.1466, allocations: 8.573 MB / 431.8 MB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009156/0.1475, allocations: 51.95 kB / 431.9 MB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.1476, allocations: 47.98 kB / 431.9 MB, free: 11.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001028/0.1486, allocations: 464.7 kB / 432.4 MB, free: 10.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001151/0.1498, allocations: 0.6898 MB / 433.1 MB, free: 9.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001587/0.1514, allocations: 0.9108 MB / 434 MB, free: 8.719 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.454e-06/0.1514, allocations: 7.938 kB / 434 MB, free: 8.711 MB / 410.7 MB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.008952/0.1603, allocations: 2.167 MB / 436.2 MB, free: 6.527 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.1603, allocations: 8 kB / 436.2 MB, free: 6.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.1603, allocations: 8 kB / 436.2 MB, free: 6.512 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01564/0.176, allocations: 3.027 MB / 439.2 MB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007121/0.1767, allocations: 143.8 kB / 439.3 MB, free: 3.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1718/0.3485, allocations: 8.417 MB / 447.8 MB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000837/0.3493, allocations: 52.36 kB / 447.8 MB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.27e-05/0.3494, allocations: 44.56 kB / 447.8 MB, free: 104.3 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.000246/0.3496, allocations: 321.4 kB / 448.2 MB, free: 104 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.3498, allocations: 132.1 kB / 448.3 MB, free: 104 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.3521, allocations: 1.053 MB / 449.3 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.3521, allocations: 12.59 kB / 449.4 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3521, allocations: 0 / 449.4 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.3522, allocations: 6.438 kB / 449.4 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003694/0.3558, allocations: 2.175 MB / 451.5 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.3559, allocations: 5 kB / 451.5 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008951/0.3567, allocations: 162.2 kB / 451.7 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00137/0.3581, allocations: 362.2 kB / 452.1 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/0.3582, allocations: 29.08 kB / 452.1 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004057/0.3622, allocations: 7.531 MB / 459.6 MB, free: 95.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3622, allocations: 0 / 459.6 MB, free: 95.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/0.3649, allocations: 1.527 MB / 461.1 MB, free: 95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004498/0.3654, allocations: 183.1 kB / 461.3 MB, free: 94.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.3655, allocations: 28.64 kB / 461.3 MB, free: 94.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005503/0.3661, allocations: 34.05 kB / 461.4 MB, free: 94.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.3662, allocations: 77.2 kB / 461.5 MB, free: 94.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-05/0.3663, allocations: 32.33 kB / 461.5 MB, free: 94.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005875/0.3669, allocations: 0.5664 MB / 462.1 MB, free: 94.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3669, allocations: 0 / 462.1 MB, free: 94.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001747/0.3686, allocations: 0.5652 MB / 462.6 MB, free: 94.53 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.002739/0.3714, allocations: 0.5128 MB / 463.1 MB, free: 94.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005197/0.3766, allocations: 2.88 MB / 466 MB, free: 92.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3766, allocations: 0 / 466 MB, free: 92.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001379/0.378, allocations: 1.189 MB / 467.2 MB, free: 92.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.379, allocations: 241.9 kB / 467.4 MB, free: 92.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.3823, allocations: 2.442 MB / 469.9 MB, free: 90.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.3828, allocations: 0.6259 MB / 470.5 MB, free: 90.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006384/0.3834, allocations: 215.2 kB / 470.7 MB, free: 90.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.3837, allocations: 80.56 kB / 470.8 MB, free: 90.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3837, allocations: 4 kB / 470.8 MB, free: 90.47 MB / 410.7 MB Notification: Performance of Templates: time 0.04313/0.4268, allocations: 31.93 MB / 0.4909 GB, free: 78.26 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: 6.369089396903291]