Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.00183/0.00183, allocations: 88.33 kB / 20.96 MB, free: 3.449 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.00158/0.00158, allocations: 169.3 kB / 24.26 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.486/1.486, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.3249/0.3249, 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 master/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="mat",numberOfIntervals=1200,variableFilter="Time|asm_ctrl.motor.tau_el|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1200,variableFilter="Time|asm_ctrl.motor.tau_el|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.819e-06/4.819e-06, allocations: 4 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/3.064e-05, allocations: 2.312 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol): time 0.01153/0.01156, allocations: 7.128 MB / 376 MB, free: 4.125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.02193, allocations: 4.904 MB / 380.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009515/0.02288, allocations: 47.62 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01487/0.03775, allocations: 6.506 MB / 387.5 MB, free: 8.637 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.04004, allocations: 0.6057 MB / 388.1 MB, free: 8.027 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.04184, allocations: 0.6002 MB / 388.7 MB, free: 7.426 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004975/0.04681, allocations: 2.779 MB / 391.5 MB, free: 4.641 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/0.04875, allocations: 1.206 MB / 392.7 MB, free: 3.414 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001677/0.05042, allocations: 1.001 MB / 393.7 MB, free: 2.41 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001348/0.05177, allocations: 0.7908 MB / 394.5 MB, free: 1.617 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002462/0.05202, allocations: 148 kB / 394.6 MB, free: 1.473 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006523/0.05267, allocations: 271.7 kB / 394.9 MB, free: 1.207 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007035/0.05338, allocations: 0.5454 MB / 395.4 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007495/0.05412, allocations: 486.9 kB / 395.9 MB, free: 188 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003156/0.05728, allocations: 2.01 MB / 397.9 MB, free: 14.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.05729, allocations: 0 / 397.9 MB, free: 14.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.05729, allocations: 0 / 397.9 MB, free: 14.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.128e-05/0.05731, allocations: 0 / 397.9 MB, free: 14.17 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.0044/0.06171, allocations: 1.679 MB / 399.6 MB, free: 12.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.06176, allocations: 19.97 kB / 399.6 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000893/0.06265, allocations: 244 kB / 399.8 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00271/0.06536, allocations: 1.084 MB / 400.9 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.804e-05/0.06544, allocations: 73.97 kB / 401 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/0.06564, allocations: 88 kB / 401.1 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.06815, allocations: 1.415 MB / 402.5 MB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/0.06819, allocations: 7.953 kB / 402.5 MB, free: 9.422 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.0683, allocations: 36 kB / 402.5 MB, free: 9.387 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003494/0.06865, allocations: 89.94 kB / 402.6 MB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.07083, allocations: 1.136 MB / 403.8 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008539/0.07937, allocations: 4.376 MB / 408.1 MB, free: 3.652 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.08104, allocations: 0.8079 MB / 408.9 MB, free: 2.816 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009572/0.082, allocations: 484.4 kB / 409.4 MB, free: 2.332 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.044e-05/0.08208, allocations: 24.62 kB / 409.4 MB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/0.08323, allocations: 0.6139 MB / 410.1 MB, free: 1.672 MB / 378.7 MB Notification: Performance of pre-optimization done (n=79): time 2.595e-06/0.08323, allocations: 0 / 410.1 MB, free: 1.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=81): time 0.01061/0.09384, allocations: 3.774 MB / 413.8 MB, free: 13.85 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/0.09401, allocations: 192.6 kB / 414 MB, free: 13.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.09534, allocations: 0.7825 MB / 414.8 MB, free: 12.83 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.892e-05/0.09543, allocations: 41.7 kB / 414.8 MB, free: 12.78 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005248/0.09595, allocations: 0.5277 MB / 415.4 MB, free: 12.25 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003632/0.09632, allocations: 301.4 kB / 415.7 MB, free: 11.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003737/0.09669, allocations: 186.5 kB / 415.8 MB, free: 11.76 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.09689, allocations: 341.9 kB / 416.2 MB, free: 11.42 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009334/0.09783, allocations: 492.6 kB / 416.7 MB, free: 10.94 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.09907, allocations: 0.8017 MB / 417.5 MB, free: 10.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002492/0.1016, allocations: 1.22 MB / 418.7 MB, free: 8.707 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.1016, allocations: 4 kB / 418.7 MB, free: 8.703 MB / 394.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.01007/0.1116, allocations: 2.817 MB / 421.5 MB, free: 5.871 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.1117, allocations: 12 kB / 421.5 MB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/0.1117, allocations: 8 kB / 421.5 MB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01578/0.1275, allocations: 3.357 MB / 424.9 MB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007353/0.1282, allocations: 143.8 kB / 425 MB, free: 2.344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02598/0.1542, allocations: 12.17 MB / 437.2 MB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009827/0.1552, allocations: 55.95 kB / 437.2 MB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001891/0.1554, allocations: 47.98 kB / 437.3 MB, free: 5.871 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001477/0.1568, allocations: 0.7517 MB / 438 MB, free: 5.113 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001213/0.158, allocations: 0.7784 MB / 438.8 MB, free: 4.219 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002363/0.1604, allocations: 1.211 MB / 440 MB, free: 2.918 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.211e-06/0.1604, allocations: 0 / 440 MB, free: 2.918 MB / 410.7 MB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.009756/0.1702, allocations: 2.739 MB / 442.8 MB, free: 168 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1702, allocations: 8 kB / 442.8 MB, free: 160 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.1702, allocations: 8 kB / 442.8 MB, free: 152 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1918/0.362, allocations: 3.324 MB / 446.1 MB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.3631, allocations: 145.7 kB / 446.2 MB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02689/0.3899, allocations: 11.92 MB / 458.2 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.391, allocations: 51.33 kB / 458.2 MB, free: 103.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.3911, allocations: 48.28 kB / 458.3 MB, free: 103.2 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.0002898/0.3914, allocations: 244.9 kB / 458.5 MB, free: 103 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/0.3917, allocations: 128.4 kB / 458.6 MB, free: 103 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002832/0.3945, allocations: 1.481 MB / 460.1 MB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.3945, allocations: 10.94 kB / 460.1 MB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.3945, allocations: 3.188 kB / 460.1 MB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.3946, allocations: 3.422 kB / 460.1 MB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004374/0.3989, allocations: 2.476 MB / 462.6 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.3989, allocations: 3.219 kB / 462.6 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009373/0.3999, allocations: 161.2 kB / 462.8 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00145/0.4013, allocations: 448 kB / 463.2 MB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-05/0.4014, allocations: 27.8 kB / 463.2 MB, free: 101.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004883/0.4063, allocations: 6.279 MB / 469.5 MB, free: 95.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4063, allocations: 0 / 469.5 MB, free: 95.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003415/0.4097, allocations: 2.163 MB / 471.7 MB, free: 95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004684/0.4102, allocations: 190.3 kB / 471.9 MB, free: 94.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001773/0.4104, allocations: 30 kB / 471.9 MB, free: 94.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006513/0.411, allocations: 43.86 kB / 471.9 MB, free: 94.87 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001918/0.4112, allocations: 72.91 kB / 472 MB, free: 94.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.482e-05/0.4113, allocations: 34.11 kB / 472 MB, free: 94.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009289/0.4122, allocations: 0.527 MB / 472.6 MB, free: 94.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4122, allocations: 0 / 472.6 MB, free: 94.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002993/0.4152, allocations: 0.5663 MB / 473.1 MB, free: 94.56 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.002877/0.4181, allocations: 0.5091 MB / 473.6 MB, free: 94.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00889/0.427, allocations: 3.111 MB / 476.8 MB, free: 92.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.427, allocations: 4.062 kB / 476.8 MB, free: 92.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002383/0.4294, allocations: 1.101 MB / 477.9 MB, free: 92.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.4314, allocations: 253.1 kB / 478.1 MB, free: 92.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006293/0.4377, allocations: 2.741 MB / 480.8 MB, free: 90.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/0.4389, allocations: 0.6494 MB / 481.5 MB, free: 90.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001384/0.4403, allocations: 251 kB / 481.7 MB, free: 90.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004736/0.4408, allocations: 78.98 kB / 481.8 MB, free: 90.51 MB / 410.7 MB Notification: Performance of SimCode: time 1.223e-06/0.4408, allocations: 0 / 481.8 MB, free: 90.51 MB / 410.7 MB Notification: Performance of Templates: time 0.06241/0.5032, allocations: 31.19 MB / 0.501 GB, free: 70.58 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.308065372984856]