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.00107/0.00107, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.0008967/0.0008967, allocations: 172.4 kB / 25.61 MB, free: 8.922 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.9684/0.9684, allocations: 177.1 MB / 206.1 MB, free: 4.5 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.1192/0.1192, allocations: 29.42 MB / 292 MB, free: 2.637 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 5.109e-06/5.109e-06, allocations: 0 / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.618e-05/2.129e-05, allocations: 2.312 kB / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv): time 0.006861/0.006882, allocations: 6.887 MB / 377.8 MB, free: 25.41 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.01006, allocations: 2.949 MB / 380.7 MB, free: 22.46 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004398/0.0105, allocations: 47.69 kB / 380.8 MB, free: 22.41 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007687/0.01127, allocations: 317.7 kB / 381.1 MB, free: 22.1 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009828/0.01225, allocations: 0.6601 MB / 381.7 MB, free: 21.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005595/0.01281, allocations: 455.1 kB / 382.2 MB, free: 20.99 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009902/0.0138, allocations: 1.535 MB / 383.7 MB, free: 19.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007643/0.01457, allocations: 1.078 MB / 384.8 MB, free: 18.35 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005849/0.01515, allocations: 0.8301 MB / 385.6 MB, free: 17.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004547/0.01561, allocations: 0.5765 MB / 386.2 MB, free: 16.94 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.458e-05/0.01569, allocations: 112 kB / 386.3 MB, free: 16.83 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003351/0.01603, allocations: 375.4 kB / 386.7 MB, free: 16.46 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.01624, allocations: 426.8 kB / 387.1 MB, free: 16.04 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002574/0.0165, allocations: 399.1 kB / 387.5 MB, free: 15.65 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007549/0.01725, allocations: 1.137 MB / 388.6 MB, free: 14.51 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.01725, allocations: 0 / 388.6 MB, free: 14.51 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.01726, allocations: 0 / 388.6 MB, free: 14.51 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.01726, allocations: 0 / 388.6 MB, free: 14.51 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.001349/0.01861, allocations: 1.46 MB / 390.1 MB, free: 13.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.681e-05/0.01864, allocations: 15.97 kB / 390.1 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004343/0.01907, allocations: 248.1 kB / 390.3 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006252/0.0197, allocations: 0.7515 MB / 391.1 MB, free: 11.97 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.01973, allocations: 66.3 kB / 391.1 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.01983, allocations: 96.06 kB / 391.2 MB, free: 11.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005891/0.02042, allocations: 0.8102 MB / 392 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.02044, allocations: 7.938 kB / 392.1 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.736e-05/0.02049, allocations: 35.98 kB / 392.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.638e-05/0.02055, allocations: 65.97 kB / 392.2 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003727/0.02092, allocations: 337.5 kB / 392.5 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002396/0.02332, allocations: 4.311 MB / 396.8 MB, free: 5.965 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.02369, allocations: 358 kB / 397.1 MB, free: 5.586 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.02385, allocations: 148.5 kB / 397.3 MB, free: 5.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.02388, allocations: 12.5 kB / 397.3 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.02391, allocations: 45.83 kB / 397.3 MB, free: 5.359 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 2.064e-06/0.02391, allocations: 0 / 397.3 MB, free: 5.359 MB / 314.7 MB Notification: Performance of matching and sorting (n=62): time 0.001611/0.02552, allocations: 1.101 MB / 398.4 MB, free: 4.223 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.02555, allocations: 166.7 kB / 398.6 MB, free: 4.023 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002835/0.02583, allocations: 0.6046 MB / 399.2 MB, free: 3.402 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.02586, allocations: 37.7 kB / 399.2 MB, free: 3.359 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.02602, allocations: 0.5455 MB / 399.8 MB, free: 2.805 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.575e-05/0.0261, allocations: 234 kB / 400 MB, free: 2.574 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.02622, allocations: 160.2 kB / 400.2 MB, free: 2.406 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.333e-05/0.0263, allocations: 0.5663 MB / 400.7 MB, free: 1.828 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.02641, allocations: 91.61 kB / 400.8 MB, free: 1.734 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.02659, allocations: 0.4961 MB / 401.3 MB, free: 1.074 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004592/0.02705, allocations: 0.7054 MB / 402 MB, free: 232 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.02705, allocations: 0 / 402 MB, free: 232 kB / 314.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0012/0.02825, allocations: 0.8244 MB / 402.9 MB, free: 15.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.02827, allocations: 12.06 kB / 402.9 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.02828, allocations: 11.98 kB / 402.9 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.0293, allocations: 449 kB / 403.3 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.02958, allocations: 147.7 kB / 403.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003896/0.03348, allocations: 5.235 MB / 408.7 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.03371, allocations: 43.92 kB / 408.7 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.03374, allocations: 28 kB / 408.8 MB, free: 9.242 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.0002307/0.03397, allocations: 228.8 kB / 409 MB, free: 9.016 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002783/0.03425, allocations: 0.4906 MB / 409.5 MB, free: 8.363 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005553/0.0348, allocations: 0.7015 MB / 410.2 MB, free: 7.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.567e-06/0.03481, allocations: 4 kB / 410.2 MB, free: 7.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization_lambda0): time 0.001074/0.03588, allocations: 0.7923 MB / 411 MB, free: 6.707 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.03589, allocations: 8 kB / 411 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.0359, allocations: 8 kB / 411 MB, free: 6.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009037/0.0368, allocations: 431.2 kB / 411.4 MB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.03706, allocations: 143.8 kB / 411.6 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003458/0.04052, allocations: 5.173 MB / 416.7 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.04075, allocations: 31.94 kB / 416.8 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.04079, allocations: 31.98 kB / 416.8 MB, free: 0.6602 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.0001448/0.04093, allocations: 315.8 kB / 417.1 MB, free: 352 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.04104, allocations: 99.48 kB / 417.2 MB, free: 252 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000474/0.04151, allocations: 436.6 kB / 417.6 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.04152, allocations: 4 kB / 417.6 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.04152, allocations: 4 kB / 417.6 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.04153, allocations: 3.984 kB / 417.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.04264, allocations: 1.057 MB / 418.7 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.04264, allocations: 0 / 418.7 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.04299, allocations: 131.9 kB / 418.8 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-05/0.04304, allocations: 27.7 kB / 418.9 MB, free: 14.53 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/0.04307, allocations: 12 kB / 418.9 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005961/0.04366, allocations: 1.713 MB / 420.6 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.04366, allocations: 16.05 kB / 420.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006401/0.0443, allocations: 0.8073 MB / 421.4 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.04445, allocations: 127.4 kB / 421.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.317e-05/0.04451, allocations: 12 kB / 421.5 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.04471, allocations: 20 kB / 421.6 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.04477, allocations: 40.56 kB / 421.6 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.04479, allocations: 16 kB / 421.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002062/0.04499, allocations: 366.9 kB / 422 MB, free: 11.26 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04499, allocations: 0 / 422 MB, free: 11.26 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008683/0.04586, allocations: 411.9 kB / 422.4 MB, free: 10.86 MB / 346.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.0002118/0.04607, allocations: 145.3 kB / 422.5 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.04754, allocations: 1.688 MB / 424.2 MB, free: 8.957 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.04754, allocations: 0 / 424.2 MB, free: 8.957 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002613/0.0478, allocations: 358.4 kB / 424.6 MB, free: 8.582 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005774/0.04838, allocations: 198.6 kB / 424.7 MB, free: 8.402 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.05052, allocations: 1.78 MB / 426.5 MB, free: 6.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001911/0.05071, allocations: 260.7 kB / 426.8 MB, free: 6.289 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002674/0.05098, allocations: 114 kB / 426.9 MB, free: 6.176 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/0.0513, allocations: 242.1 kB / 427.1 MB, free: 5.938 MB / 346.7 MB Notification: Performance of SimCode: time 8.22e-07/0.0513, allocations: 0 / 427.1 MB, free: 5.938 MB / 346.7 MB Notification: Performance of Templates: time 0.01821/0.06952, allocations: 17.03 MB / 444.2 MB, free: 5.121 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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.29805042501539]