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.001032/0.001032, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001149/0.001149, allocations: 165.8 kB / 24.82 MB, free: 9.266 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 1.06/1.06, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2806/0.2806, allocations: 29.43 MB / 291.2 MB, free: 2.477 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 4.779e-06/4.779e-06, allocations: 4 kB / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.379e-05/4.857e-05, allocations: 5.266 kB / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol): time 0.01006/0.01011, allocations: 7.198 MB / 377.3 MB, free: 3.5 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007368/0.01748, allocations: 5.052 MB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.0185, allocations: 47.62 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01039/0.02889, allocations: 6.533 MB / 388.9 MB, free: 7.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001657/0.03054, allocations: 0.6096 MB / 389.5 MB, free: 7.227 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.03183, allocations: 0.6002 MB / 390.1 MB, free: 6.625 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003418/0.03525, allocations: 2.787 MB / 392.9 MB, free: 3.832 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/0.03688, allocations: 1.21 MB / 394.1 MB, free: 2.602 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.03858, allocations: 1.025 MB / 395.2 MB, free: 1.574 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.03989, allocations: 0.787 MB / 396 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003338/0.04022, allocations: 144 kB / 396.1 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006467/0.04087, allocations: 267.7 kB / 396.4 MB, free: 392 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005018/0.04137, allocations: 0.5532 MB / 396.9 MB, free: 15.83 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006023/0.04197, allocations: 482.9 kB / 397.4 MB, free: 15.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00186/0.04383, allocations: 1.265 MB / 398.6 MB, free: 14.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.04384, allocations: 7.938 kB / 398.7 MB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.04384, allocations: 0 / 398.7 MB, free: 14.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.771e-05/0.04388, allocations: 0 / 398.7 MB, free: 14.08 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.002907/0.04678, allocations: 1.7 MB / 400.4 MB, free: 12.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.04683, allocations: 11.98 kB / 400.4 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006261/0.04745, allocations: 232 kB / 400.6 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.04911, allocations: 0.994 MB / 401.6 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.818e-05/0.04918, allocations: 77.97 kB / 401.7 MB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.04934, allocations: 95.92 kB / 401.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.05064, allocations: 0.8778 MB / 402.6 MB, free: 9.926 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.357e-05/0.05067, allocations: 7.891 kB / 402.6 MB, free: 9.918 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.058e-05/0.05075, allocations: 40 kB / 402.7 MB, free: 9.879 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002087/0.05096, allocations: 77.95 kB / 402.8 MB, free: 9.805 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007618/0.05173, allocations: 365.5 kB / 403.1 MB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005211/0.05694, allocations: 4.111 MB / 407.2 MB, free: 5.191 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006558/0.05759, allocations: 425.5 kB / 407.6 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/0.05793, allocations: 205 kB / 407.8 MB, free: 4.531 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.659e-05/0.05798, allocations: 16.59 kB / 407.9 MB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005016/0.05849, allocations: 374.7 kB / 408.2 MB, free: 4.121 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 6.723e-06/0.05849, allocations: 3.984 kB / 408.2 MB, free: 4.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=81): time 0.004408/0.0629, allocations: 1.771 MB / 410 MB, free: 2.289 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.554e-05/0.063, allocations: 196.5 kB / 410.2 MB, free: 2.055 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008029/0.0638, allocations: 0.7566 MB / 410.9 MB, free: 1.281 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-05/0.06386, allocations: 41.7 kB / 411 MB, free: 1.234 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/0.06425, allocations: 0.5967 MB / 411.6 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.06455, allocations: 309.3 kB / 411.9 MB, free: 332 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000269/0.06482, allocations: 192.2 kB / 412.1 MB, free: 132 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.065, allocations: 0.5276 MB / 412.6 MB, free: 15.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.06527, allocations: 147.6 kB / 412.7 MB, free: 15.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.06575, allocations: 0.5531 MB / 413.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009363/0.06669, allocations: 0.6764 MB / 414 MB, free: 13.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.0667, allocations: 4 kB / 414 MB, free: 13.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.004558/0.07125, allocations: 1.648 MB / 415.6 MB, free: 12.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.07128, allocations: 11.94 kB / 415.6 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.0713, allocations: 8 kB / 415.6 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006462/0.07776, allocations: 2.43 MB / 418.1 MB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004219/0.07818, allocations: 139.7 kB / 418.2 MB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008247/0.08643, allocations: 7.268 MB / 425.5 MB, free: 2.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005376/0.08697, allocations: 35.98 kB / 425.5 MB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.764e-05/0.08703, allocations: 47.92 kB / 425.6 MB, free: 2.098 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004428/0.08748, allocations: 284.8 kB / 425.8 MB, free: 1.812 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003742/0.08785, allocations: 0.5569 MB / 426.4 MB, free: 1.102 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005793/0.08843, allocations: 0.6686 MB / 427.1 MB, free: 316 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.497e-06/0.08843, allocations: 0 / 427.1 MB, free: 316 kB / 394.7 MB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.003522/0.09195, allocations: 1.624 MB / 428.7 MB, free: 14.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.09198, allocations: 8 kB / 428.7 MB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.09199, allocations: 8 kB / 428.7 MB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00608/0.09807, allocations: 2.407 MB / 431.1 MB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.0984, allocations: 135.8 kB / 431.2 MB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007898/0.1063, allocations: 7.219 MB / 438.5 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005709/0.1069, allocations: 36 kB / 438.5 MB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.1069, allocations: 43.98 kB / 438.5 MB, free: 4.586 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,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.0002788/0.1072, allocations: 327.8 kB / 438.9 MB, free: 4.258 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.1074, allocations: 131.3 kB / 439 MB, free: 4.129 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.1086, allocations: 0.8304 MB / 439.8 MB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.1086, allocations: 12 kB / 439.8 MB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1086, allocations: 0 / 439.8 MB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.1086, allocations: 7.984 kB / 439.8 MB, free: 3.246 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0022/0.1108, allocations: 1.558 MB / 441.4 MB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.1108, allocations: 7.938 kB / 441.4 MB, free: 1.629 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004574/0.1113, allocations: 151.8 kB / 441.6 MB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007282/0.112, allocations: 314.3 kB / 441.9 MB, free: 1.156 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.35e-05/0.1121, allocations: 27.98 kB / 441.9 MB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1937/0.3058, allocations: 7.234 MB / 449.1 MB, free: 86.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3058, allocations: 0 / 449.1 MB, free: 86.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/0.3075, allocations: 1.145 MB / 450.3 MB, free: 86.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.3078, allocations: 173 kB / 450.4 MB, free: 86.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.391e-05/0.3079, allocations: 31.88 kB / 450.5 MB, free: 86.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.3081, allocations: 23.31 kB / 450.5 MB, free: 86.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/0.3083, allocations: 72.05 kB / 450.6 MB, free: 86.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.651e-05/0.3083, allocations: 28.62 kB / 450.6 MB, free: 86.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003454/0.3087, allocations: 443.3 kB / 451 MB, free: 86.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3087, allocations: 0 / 451 MB, free: 86.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001542/0.3102, allocations: 0.5617 MB / 451.6 MB, free: 86.4 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.00101/0.3112, allocations: 480.3 kB / 452.1 MB, free: 86.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00343/0.3147, allocations: 2.424 MB / 454.5 MB, free: 85.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.3147, allocations: 0 / 454.5 MB, free: 85.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009189/0.3156, allocations: 1.047 MB / 455.5 MB, free: 84.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008949/0.3165, allocations: 238.7 kB / 455.8 MB, free: 84.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003736/0.3202, allocations: 2.368 MB / 458.1 MB, free: 83.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.3206, allocations: 348.6 kB / 458.5 MB, free: 83.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004623/0.3211, allocations: 142.5 kB / 458.6 MB, free: 83.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004167/0.3215, allocations: 298.2 kB / 458.9 MB, free: 83.52 MB / 410.7 MB Notification: Performance of SimCode: time 1.683e-06/0.3215, allocations: 0 / 458.9 MB, free: 83.52 MB / 410.7 MB Notification: Performance of Templates: time 0.04171/0.3632, allocations: 33.47 MB / 492.4 MB, free: 76.87 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.074399978853762]