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.0009785/0.0009785, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001001/0.001001, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.081/1.081, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.269/0.269, allocations: 29.41 MB / 291.2 MB, free: 2.492 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.353e-06/1.353e-06, allocations: 0 / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.128e-05/1.263e-05, allocations: 2.312 kB / 316.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol): time 0.006346/0.006359, allocations: 7.283 MB / 324.2 MB, free: 8.641 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007165/0.01352, allocations: 5.17 MB / 329.3 MB, free: 3.453 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006509/0.01418, allocations: 47.62 kB / 329.4 MB, free: 3.406 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008117/0.02229, allocations: 6.264 MB / 335.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.02334, allocations: 0.5979 MB / 336.2 MB, free: 12.52 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.02437, allocations: 0.6119 MB / 336.9 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002353/0.02673, allocations: 2.76 MB / 339.6 MB, free: 9.141 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.02797, allocations: 1.216 MB / 340.8 MB, free: 7.891 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009805/0.02895, allocations: 1.009 MB / 341.8 MB, free: 6.883 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007605/0.02971, allocations: 0.7674 MB / 342.6 MB, free: 6.113 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.02986, allocations: 144 kB / 342.7 MB, free: 5.973 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003992/0.03026, allocations: 275.7 kB / 343 MB, free: 5.703 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003402/0.0306, allocations: 0.5571 MB / 343.6 MB, free: 5.145 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003486/0.03095, allocations: 478.9 kB / 344 MB, free: 4.676 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.03206, allocations: 1.265 MB / 345.3 MB, free: 3.406 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.03206, allocations: 0 / 345.3 MB, free: 3.406 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.03206, allocations: 0 / 345.3 MB, free: 3.406 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.03207, allocations: 0 / 345.3 MB, free: 3.406 MB / 314.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.001766/0.03384, allocations: 1.536 MB / 346.8 MB, free: 1.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.03387, allocations: 11.98 kB / 346.9 MB, free: 1.828 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004058/0.03428, allocations: 188.7 kB / 347 MB, free: 1.645 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.03537, allocations: 0.8235 MB / 347.9 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.03542, allocations: 69.98 kB / 347.9 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.03554, allocations: 95.94 kB / 348 MB, free: 0.625 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.03659, allocations: 0.8557 MB / 348.9 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.03661, allocations: 4 kB / 348.9 MB, free: 15.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.94e-05/0.03667, allocations: 36 kB / 348.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001431/0.03681, allocations: 81.94 kB / 349 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004505/0.03727, allocations: 340.4 kB / 349.3 MB, free: 15.24 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003157/0.04042, allocations: 3.152 MB / 352.5 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004501/0.04087, allocations: 424.2 kB / 352.9 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.04108, allocations: 172.5 kB / 353.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.248e-05/0.04113, allocations: 16.66 kB / 353.1 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007581/0.04189, allocations: 356.5 kB / 353.4 MB, free: 10.96 MB / 330.7 MB Notification: Performance of pre-optimization done (n=79): time 3.587e-06/0.0419, allocations: 0 / 353.4 MB, free: 10.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=81): time 0.007569/0.04947, allocations: 1.602 MB / 355 MB, free: 9.305 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.282e-05/0.04955, allocations: 188.6 kB / 355.2 MB, free: 9.078 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008903/0.05044, allocations: 0.6886 MB / 355.9 MB, free: 8.375 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.184e-05/0.0505, allocations: 41.7 kB / 355.9 MB, free: 8.328 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/0.05076, allocations: 430.2 kB / 356.4 MB, free: 7.902 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/0.05098, allocations: 305.4 kB / 356.7 MB, free: 7.602 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/0.05124, allocations: 178.5 kB / 356.8 MB, free: 7.422 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.05135, allocations: 345.9 kB / 357.2 MB, free: 7.078 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.05163, allocations: 135.7 kB / 357.3 MB, free: 6.941 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004407/0.05207, allocations: 457 kB / 357.8 MB, free: 6.379 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007685/0.05284, allocations: 0.5677 MB / 358.3 MB, free: 5.715 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.05284, allocations: 0 / 358.3 MB, free: 5.715 MB / 330.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.004266/0.05711, allocations: 1.477 MB / 359.8 MB, free: 4.215 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.05713, allocations: 8 kB / 359.8 MB, free: 4.207 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.05714, allocations: 8 kB / 359.8 MB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005667/0.06281, allocations: 2.415 MB / 362.2 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/0.06318, allocations: 163.8 kB / 362.4 MB, free: 1.625 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006993/0.07018, allocations: 5.907 MB / 368.3 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003669/0.07054, allocations: 36 kB / 368.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/0.0706, allocations: 35.92 kB / 368.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003418/0.07094, allocations: 227.7 kB / 368.6 MB, free: 11.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002962/0.07123, allocations: 457 kB / 369 MB, free: 10.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005043/0.07174, allocations: 0.5689 MB / 369.6 MB, free: 10.01 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-06/0.07174, allocations: 4 kB / 369.6 MB, free: 10 MB / 346.7 MB Notification: Performance of matching and sorting (n=122) (initialization_lambda0): time 0.002963/0.07471, allocations: 1.438 MB / 371 MB, free: 8.551 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.07472, allocations: 8 kB / 371.1 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.07472, allocations: 4 kB / 371.1 MB, free: 8.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005403/0.08013, allocations: 2.403 MB / 373.5 MB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.08046, allocations: 163.7 kB / 373.6 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006747/0.08721, allocations: 5.847 MB / 379.5 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.08753, allocations: 39.98 kB / 379.5 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.076e-05/0.08758, allocations: 35.98 kB / 379.5 MB, free: 15.85 MB / 362.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.0001746/0.08776, allocations: 236 kB / 379.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.996e-05/0.08786, allocations: 79.92 kB / 379.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.08887, allocations: 0.7191 MB / 380.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.08887, allocations: 8 kB / 380.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.08888, allocations: 11.94 kB / 380.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.08889, allocations: 3.984 kB / 380.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.09059, allocations: 1.312 MB / 381.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.09059, allocations: 4 kB / 381.9 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005193/0.09111, allocations: 178.7 kB / 382.1 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006474/0.09176, allocations: 325.2 kB / 382.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-05/0.09181, allocations: 27.98 kB / 382.4 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002507/0.09432, allocations: 5.097 MB / 387.5 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.09432, allocations: 3.938 kB / 387.5 MB, free: 7.387 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.09543, allocations: 0.9751 MB / 388.5 MB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.09562, allocations: 143.2 kB / 388.6 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-05/0.09569, allocations: 31.94 kB / 388.7 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.09593, allocations: 23.98 kB / 388.7 MB, free: 6.172 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.09604, allocations: 72.8 kB / 388.8 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.09608, allocations: 23.98 kB / 388.8 MB, free: 6.078 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002282/0.09631, allocations: 308.5 kB / 389.1 MB, free: 5.777 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09631, allocations: 3.938 kB / 389.1 MB, free: 5.773 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001105/0.09741, allocations: 0.5663 MB / 389.7 MB, free: 5.207 MB / 362.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.001169/0.09858, allocations: 0.5818 MB / 390.2 MB, free: 4.922 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003207/0.1018, allocations: 2.101 MB / 392.3 MB, free: 2.766 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/0.1018, allocations: 8 kB / 392.4 MB, free: 2.758 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009255/0.1027, allocations: 0.8108 MB / 393.2 MB, free: 1.895 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000774/0.1035, allocations: 256.3 kB / 393.4 MB, free: 1.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.1068, allocations: 2.17 MB / 395.6 MB, free: 15.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004351/0.1111, allocations: 337.3 kB / 395.9 MB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004954/0.1116, allocations: 151.7 kB / 396.1 MB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005201/0.1121, allocations: 253.2 kB / 396.3 MB, free: 14.69 MB / 378.7 MB Notification: Performance of SimCode: time 9.11e-07/0.1121, allocations: 0 / 396.3 MB, free: 14.69 MB / 378.7 MB Notification: Performance of Templates: time 0.06623/0.1784, allocations: 33.64 MB / 429.9 MB, free: 13.31 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: 3.883102341555059]