Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.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.00144/0.00144, 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.001703/0.001703, allocations: 168.7 kB / 24.91 MB, free: 9.199 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 0.9827/0.9827, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2238/0.2238, allocations: 29.41 MB / 291.2 MB, free: 2.41 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.SM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv") translateModel(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.036e-05, allocations: 3.188 kB / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv): time 0.007138/0.007159, allocations: 6.944 MB / 323.8 MB, free: 8.957 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004149/0.01131, allocations: 3.028 MB / 326.9 MB, free: 5.922 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005389/0.01185, allocations: 43.69 kB / 326.9 MB, free: 5.879 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008518/0.0127, allocations: 317.7 kB / 327.2 MB, free: 5.566 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.01391, allocations: 0.664 MB / 327.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007424/0.01466, allocations: 447 kB / 328.3 MB, free: 4.461 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001192/0.01585, allocations: 1.527 MB / 329.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009348/0.01678, allocations: 1.104 MB / 330.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006993/0.01748, allocations: 0.8145 MB / 331.8 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005797/0.01806, allocations: 0.5532 MB / 332.3 MB, free: 428 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.01817, allocations: 112 kB / 332.4 MB, free: 316 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004686/0.01864, allocations: 383.4 kB / 332.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002544/0.01889, allocations: 422.8 kB / 333.2 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000273/0.01916, allocations: 395.1 kB / 333.6 MB, free: 15.13 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.02017, allocations: 1.137 MB / 334.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.02018, allocations: 0 / 334.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.02018, allocations: 0 / 334.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.151e-05/0.02019, allocations: 4 kB / 334.7 MB, free: 13.99 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00144/0.02163, allocations: 1.316 MB / 336 MB, free: 12.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.02166, allocations: 11.98 kB / 336.1 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004682/0.02213, allocations: 196.7 kB / 336.2 MB, free: 12.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007456/0.02287, allocations: 0.6278 MB / 336.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.02291, allocations: 62.38 kB / 336.9 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.02303, allocations: 104 kB / 337 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007321/0.02377, allocations: 0.7816 MB / 337.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.02379, allocations: 7.938 kB / 337.8 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.063e-05/0.02384, allocations: 32 kB / 337.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.629e-05/0.02391, allocations: 61.97 kB / 337.9 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004187/0.02433, allocations: 308.5 kB / 338.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003043/0.02737, allocations: 3.333 MB / 341.6 MB, free: 6.863 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004232/0.02779, allocations: 364.6 kB / 341.9 MB, free: 6.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.02796, allocations: 136 kB / 342 MB, free: 6.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.028, allocations: 12.5 kB / 342.1 MB, free: 6.328 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.02803, allocations: 39.06 kB / 342.1 MB, free: 6.277 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 2.014e-06/0.02803, allocations: 0 / 342.1 MB, free: 6.277 MB / 314.7 MB Notification: Performance of matching and sorting (n=62): time 0.001862/0.02989, allocations: 1.028 MB / 343.1 MB, free: 5.219 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.647e-05/0.02995, allocations: 162.7 kB / 343.3 MB, free: 5.023 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.03028, allocations: 0.5312 MB / 343.8 MB, free: 4.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.03031, allocations: 37.7 kB / 343.8 MB, free: 4.438 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.0305, allocations: 425.2 kB / 344.3 MB, free: 4.016 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.03061, allocations: 230 kB / 344.5 MB, free: 3.789 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.03075, allocations: 146.5 kB / 344.6 MB, free: 3.637 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.03086, allocations: 386.6 kB / 345 MB, free: 3.25 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.03098, allocations: 91.64 kB / 345.1 MB, free: 3.156 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.03122, allocations: 388.8 kB / 345.5 MB, free: 2.652 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005706/0.03179, allocations: 0.6091 MB / 346.1 MB, free: 1.938 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.03179, allocations: 4 kB / 346.1 MB, free: 1.934 MB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001105/0.0329, allocations: 0.7038 MB / 346.8 MB, free: 1.215 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.03292, allocations: 8 kB / 346.8 MB, free: 1.207 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.03293, allocations: 8 kB / 346.8 MB, free: 1.199 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.03394, allocations: 439.9 kB / 347.2 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.0343, allocations: 167.6 kB / 347.4 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003578/0.03788, allocations: 4.023 MB / 351.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.03815, allocations: 28 kB / 351.5 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.03819, allocations: 31.98 kB / 351.5 MB, free: 12.33 MB / 330.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.sm_ctrl.rotor.w = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002713/0.03846, allocations: 191.7 kB / 351.7 MB, free: 12.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002329/0.03869, allocations: 385.2 kB / 352 MB, free: 11.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005195/0.03921, allocations: 0.5985 MB / 352.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.705e-06/0.03921, allocations: 0 / 352.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization_lambda0): time 0.0009622/0.04018, allocations: 0.6742 MB / 353.3 MB, free: 10.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.04019, allocations: 8.344 kB / 353.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.04019, allocations: 12 kB / 353.3 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009186/0.04111, allocations: 415.2 kB / 353.7 MB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/0.04146, allocations: 179.6 kB / 353.9 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003267/0.04473, allocations: 3.968 MB / 357.9 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/0.04501, allocations: 31.98 kB / 357.9 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.04505, allocations: 28 kB / 357.9 MB, free: 5.418 MB / 330.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: $DER.sm_ctrl.rotor.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,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 {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0001761/0.04522, allocations: 232.1 kB / 358.2 MB, free: 5.184 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.04533, allocations: 67.86 kB / 358.2 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004428/0.04577, allocations: 361.8 kB / 358.6 MB, free: 4.754 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.04578, allocations: 8 kB / 358.6 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.04578, allocations: 0 / 358.6 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.04579, allocations: 7.984 kB / 358.6 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.04688, allocations: 0.866 MB / 359.5 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.04689, allocations: 4 kB / 359.5 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003991/0.04728, allocations: 143.8 kB / 359.6 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.987e-05/0.04734, allocations: 16.84 kB / 359.6 MB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.04737, allocations: 16 kB / 359.7 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005242/0.0479, allocations: 1.17 MB / 360.8 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.0479, allocations: 0 / 360.8 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006611/0.04856, allocations: 0.6584 MB / 361.5 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.0487, allocations: 95.45 kB / 361.6 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.364e-05/0.04876, allocations: 16.11 kB / 361.6 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.04895, allocations: 20 kB / 361.6 MB, free: 1.582 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/0.04902, allocations: 48.56 kB / 361.7 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.04904, allocations: 15.98 kB / 361.7 MB, free: 1.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000183/0.04922, allocations: 252.4 kB / 361.9 MB, free: 1.273 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04922, allocations: 0 / 361.9 MB, free: 1.273 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001046/0.05027, allocations: 407.9 kB / 362.3 MB, free: 0.875 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (sm_ctrl.motor.i_s[1],sm_ctrl.motor.i_s[2],sm_ctrl.motor.i_s[3],loadInertia.w,frictTorq.phi,PI_i_q.I.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,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.0002757/0.05055, allocations: 122.9 kB / 362.4 MB, free: 0.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.05211, allocations: 1.419 MB / 363.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-05/0.05213, allocations: 9.875 kB / 363.9 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.05237, allocations: 272.7 kB / 364.1 MB, free: 14.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006173/0.05299, allocations: 205.5 kB / 364.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.05533, allocations: 1.7 MB / 366 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.05554, allocations: 248.7 kB / 366.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003204/0.05586, allocations: 114 kB / 366.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003564/0.05622, allocations: 209.2 kB / 366.6 MB, free: 12.47 MB / 346.7 MB Notification: Performance of SimCode: time 1.562e-06/0.05622, allocations: 0 / 366.6 MB, free: 12.47 MB / 346.7 MB Notification: Performance of Templates: time 0.02034/0.07657, allocations: 16.89 MB / 383.5 MB, free: 11.82 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.183512445073575]