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.001283/0.001283, allocations: 77.88 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.001234/0.001234, allocations: 169.3 kB / 24.82 MB, free: 9.324 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.041/1.041, 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.28/0.28, allocations: 29.42 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.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.543e-06/1.543e-06, allocations: 0 / 370.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.982e-05/2.136e-05, allocations: 6.25 kB / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv): time 0.01828/0.0183, allocations: 6.872 MB / 377 MB, free: 3.828 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008814/0.02711, allocations: 2.952 MB / 379.9 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005844/0.0277, allocations: 51.62 kB / 380 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.02877, allocations: 317.7 kB / 380.3 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.03015, allocations: 0.6601 MB / 380.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008892/0.03104, allocations: 459 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001673/0.03271, allocations: 1.523 MB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.03398, allocations: 1.086 MB / 384 MB, free: 12.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000997/0.03498, allocations: 0.83 MB / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007818/0.03576, allocations: 0.5766 MB / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.03592, allocations: 108 kB / 385.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005747/0.03649, allocations: 375.5 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003782/0.03687, allocations: 426.8 kB / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003897/0.03726, allocations: 399.1 kB / 386.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.03863, allocations: 1.137 MB / 387.8 MB, free: 8.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.03863, allocations: 0 / 387.8 MB, free: 8.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.81e-07/0.03864, allocations: 0 / 387.8 MB, free: 8.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.03864, allocations: 0 / 387.8 MB, free: 8.93 MB / 362.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.002013/0.04066, allocations: 1.464 MB / 389.3 MB, free: 7.426 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.0407, allocations: 11.98 kB / 389.3 MB, free: 7.414 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006482/0.04135, allocations: 244.1 kB / 389.5 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.04245, allocations: 0.7553 MB / 390.3 MB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.316e-05/0.04252, allocations: 70.36 kB / 390.4 MB, free: 6.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.0427, allocations: 88.12 kB / 390.4 MB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008667/0.04356, allocations: 0.8141 MB / 391.3 MB, free: 5.324 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.04359, allocations: 3.953 kB / 391.3 MB, free: 5.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.542e-05/0.04364, allocations: 36 kB / 391.3 MB, free: 5.285 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.308e-05/0.04372, allocations: 65.91 kB / 391.4 MB, free: 5.223 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004532/0.04417, allocations: 337.5 kB / 391.7 MB, free: 4.891 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003485/0.04765, allocations: 4.315 MB / 396 MB, free: 396 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004436/0.0481, allocations: 348.3 kB / 396.3 MB, free: 8 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.04831, allocations: 159.7 kB / 396.5 MB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/0.04835, allocations: 12.5 kB / 396.5 MB, free: 15.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.04839, allocations: 41.89 kB / 396.6 MB, free: 15.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 1.784e-06/0.04839, allocations: 4 kB / 396.6 MB, free: 15.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=62): time 0.001808/0.0502, allocations: 1.105 MB / 397.7 MB, free: 14.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.05026, allocations: 162.7 kB / 397.8 MB, free: 14.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/0.05065, allocations: 0.6046 MB / 398.4 MB, free: 13.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.05069, allocations: 37.7 kB / 398.5 MB, free: 13.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.05095, allocations: 0.5533 MB / 399 MB, free: 13.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.05107, allocations: 230 kB / 399.2 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.05122, allocations: 164.2 kB / 399.4 MB, free: 12.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.0514, allocations: 0.5741 MB / 400 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.05152, allocations: 91.61 kB / 400.1 MB, free: 12.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/0.05183, allocations: 0.4945 MB / 400.6 MB, free: 11.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006179/0.05245, allocations: 0.7054 MB / 401.3 MB, free: 10.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.05245, allocations: 0 / 401.3 MB, free: 10.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001192/0.05364, allocations: 0.8244 MB / 402.1 MB, free: 9.785 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.05366, allocations: 8 kB / 402.1 MB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.05367, allocations: 8 kB / 402.1 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009739/0.05464, allocations: 459.9 kB / 402.6 MB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.05491, allocations: 147.7 kB / 402.7 MB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003881/0.05879, allocations: 5.223 MB / 407.9 MB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.05901, allocations: 35.94 kB / 408 MB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.05904, allocations: 28 kB / 408 MB, free: 3.648 MB / 378.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.000237/0.05928, allocations: 224.8 kB / 408.2 MB, free: 3.426 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000296/0.05958, allocations: 0.4908 MB / 408.7 MB, free: 2.773 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005802/0.06016, allocations: 0.6977 MB / 409.4 MB, free: 1.938 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.777e-06/0.06016, allocations: 4 kB / 409.4 MB, free: 1.934 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization_lambda0): time 0.001066/0.06123, allocations: 0.8 MB / 410.2 MB, free: 1.117 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.06124, allocations: 8 kB / 410.2 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.06124, allocations: 8 kB / 410.2 MB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008865/0.06213, allocations: 431.5 kB / 410.6 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.06239, allocations: 147.7 kB / 410.8 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003609/0.066, allocations: 5.168 MB / 415.9 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.06622, allocations: 35.94 kB / 416 MB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.06625, allocations: 27.98 kB / 416 MB, free: 11.07 MB / 394.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.0001831/0.06643, allocations: 319.9 kB / 416.3 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.06654, allocations: 99.48 kB / 416.4 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004814/0.06702, allocations: 444.4 kB / 416.9 MB, free: 10.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.06703, allocations: 8 kB / 416.9 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.06703, allocations: 3.938 kB / 416.9 MB, free: 10.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.06704, allocations: 3.984 kB / 416.9 MB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.06822, allocations: 1.045 MB / 417.9 MB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.06822, allocations: 0 / 417.9 MB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/0.06855, allocations: 135.9 kB / 418 MB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.644e-05/0.06861, allocations: 23.67 kB / 418.1 MB, free: 8.938 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.06864, allocations: 20 kB / 418.1 MB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007153/0.06935, allocations: 1.713 MB / 419.8 MB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.06935, allocations: 0 / 419.8 MB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006967/0.07005, allocations: 0.8073 MB / 420.6 MB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.07021, allocations: 131.3 kB / 420.7 MB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/0.07026, allocations: 20 kB / 420.8 MB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.07044, allocations: 16 kB / 420.8 MB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.878e-05/0.07051, allocations: 48.5 kB / 420.8 MB, free: 6.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.07053, allocations: 12 kB / 420.8 MB, free: 6.023 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002192/0.07075, allocations: 366.9 kB / 421.2 MB, free: 5.672 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07075, allocations: 4.031 kB / 421.2 MB, free: 5.668 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008441/0.07159, allocations: 407.9 kB / 421.6 MB, free: 5.27 MB / 394.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.0002192/0.07181, allocations: 138.7 kB / 421.7 MB, free: 5.125 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.07327, allocations: 1.7 MB / 423.4 MB, free: 3.355 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.07327, allocations: 0 / 423.4 MB, free: 3.355 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002556/0.07352, allocations: 346.4 kB / 423.8 MB, free: 2.992 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.07408, allocations: 199.8 kB / 424 MB, free: 2.805 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.07629, allocations: 1.769 MB / 425.7 MB, free: 0.9805 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.07647, allocations: 260.7 kB / 426 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002606/0.07673, allocations: 118 kB / 426.1 MB, free: 0.582 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/0.07704, allocations: 242.1 kB / 426.3 MB, free: 352 kB / 394.7 MB Notification: Performance of SimCode: time 7.71e-07/0.07704, allocations: 0 / 426.3 MB, free: 352 kB / 394.7 MB Notification: Performance of Templates: time 0.1705/0.2475, allocations: 16.76 MB / 443.1 MB, free: 96.68 MB / 410.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.5522465258836746]