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.001403/0.001403, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001496/0.001496, allocations: 161 kB / 24.56 MB, free: 12 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.029/1.029, allocations: 177.1 MB / 205 MB, free: 5.578 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.2457/0.2457, allocations: 29.43 MB / 290.9 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 2.214e-06/2.214e-06, allocations: 0 / 369.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.84e-05/5.062e-05, allocations: 9.062 kB / 369.6 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv): time 0.01139/0.01144, allocations: 6.973 MB / 376.6 MB, free: 3.941 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005754/0.0172, allocations: 2.968 MB / 379.6 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009116/0.01811, allocations: 51.62 kB / 379.6 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.01944, allocations: 321.7 kB / 380 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001607/0.02105, allocations: 0.6602 MB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009638/0.02201, allocations: 455.1 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001782/0.02379, allocations: 1.519 MB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.0251, allocations: 1.094 MB / 383.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.02614, allocations: 0.8184 MB / 384.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00079/0.02693, allocations: 0.5766 MB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.02708, allocations: 112 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000638/0.02772, allocations: 375.5 kB / 385.5 MB, free: 10.97 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003377/0.02806, allocations: 422.8 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003968/0.02845, allocations: 403.1 kB / 386.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001509/0.02996, allocations: 1.137 MB / 387.5 MB, free: 9.023 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.02997, allocations: 0 / 387.5 MB, free: 9.023 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.02997, allocations: 4 kB / 387.5 MB, free: 9.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.089e-05/0.02999, allocations: 0 / 387.5 MB, free: 9.02 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.001985/0.03198, allocations: 1.483 MB / 389 MB, free: 7.496 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.03202, allocations: 15.92 kB / 389 MB, free: 7.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005489/0.03257, allocations: 252.1 kB / 389.2 MB, free: 7.234 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009521/0.03352, allocations: 0.7788 MB / 390 MB, free: 6.422 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.084e-05/0.03356, allocations: 66.36 kB / 390.1 MB, free: 6.359 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.03371, allocations: 96.06 kB / 390.2 MB, free: 6.266 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.03475, allocations: 0.8651 MB / 391 MB, free: 5.305 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/0.03479, allocations: 7.891 kB / 391 MB, free: 5.297 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.688e-05/0.03484, allocations: 36 kB / 391.1 MB, free: 5.262 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.493e-05/0.03492, allocations: 65.97 kB / 391.1 MB, free: 5.199 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006722/0.03559, allocations: 411.5 kB / 391.5 MB, free: 4.793 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003915/0.0395, allocations: 4.35 MB / 395.9 MB, free: 264 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005779/0.04008, allocations: 380.4 kB / 396.3 MB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002747/0.04036, allocations: 168.5 kB / 396.4 MB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/0.0404, allocations: 16.48 kB / 396.4 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.04043, allocations: 49.83 kB / 396.5 MB, free: 15.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 2.705e-06/0.04044, allocations: 4 kB / 396.5 MB, free: 15.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=62): time 0.002576/0.04301, allocations: 1.594 MB / 398.1 MB, free: 13.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/0.0431, allocations: 162.9 kB / 398.3 MB, free: 13.77 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005171/0.04362, allocations: 0.6127 MB / 398.9 MB, free: 13.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/0.04365, allocations: 37.7 kB / 398.9 MB, free: 13.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.04393, allocations: 0.5455 MB / 399.4 MB, free: 12.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.04406, allocations: 230 kB / 399.7 MB, free: 12.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.04422, allocations: 160.2 kB / 399.8 MB, free: 12.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.04442, allocations: 0.5625 MB / 400.4 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.04462, allocations: 127.6 kB / 400.5 MB, free: 11.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.045, allocations: 0.5141 MB / 401 MB, free: 10.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000835/0.04584, allocations: 0.7641 MB / 401.8 MB, free: 9.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.04584, allocations: 0 / 401.8 MB, free: 9.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001484/0.04733, allocations: 0.922 MB / 402.7 MB, free: 8.918 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.04735, allocations: 8 kB / 402.7 MB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.04736, allocations: 8 kB / 402.7 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.04859, allocations: 0.4959 MB / 403.2 MB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.04888, allocations: 147.7 kB / 403.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004991/0.05387, allocations: 5.435 MB / 408.8 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004336/0.0543, allocations: 39.98 kB / 408.8 MB, free: 2.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.05435, allocations: 32 kB / 408.9 MB, free: 2.504 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.0004207/0.05477, allocations: 256.8 kB / 409.1 MB, free: 2.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000393/0.05516, allocations: 0.5104 MB / 409.6 MB, free: 1.578 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007938/0.05596, allocations: 0.7679 MB / 410.4 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.156e-06/0.05596, allocations: 0 / 410.4 MB, free: 0.6719 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization_lambda0): time 0.001383/0.05734, allocations: 0.8821 MB / 411.3 MB, free: 15.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.05736, allocations: 8 kB / 411.3 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.05736, allocations: 8 kB / 411.3 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.05844, allocations: 487.4 kB / 411.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.05872, allocations: 147.7 kB / 411.9 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004313/0.06304, allocations: 5.377 MB / 417.3 MB, free: 9.516 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004306/0.06347, allocations: 35.98 kB / 417.3 MB, free: 9.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.06351, allocations: 36 kB / 417.4 MB, free: 9.445 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.0002705/0.06378, allocations: 323.8 kB / 417.7 MB, free: 9.121 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.06393, allocations: 103.4 kB / 417.8 MB, free: 9.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006662/0.06459, allocations: 472.6 kB / 418.2 MB, free: 8.543 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.0646, allocations: 11.98 kB / 418.3 MB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.06461, allocations: 0 / 418.3 MB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.06461, allocations: 0 / 418.3 MB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/0.0663, allocations: 1.232 MB / 419.5 MB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.0663, allocations: 0 / 419.5 MB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003483/0.06665, allocations: 135.9 kB / 419.6 MB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.681e-05/0.06674, allocations: 23.61 kB / 419.6 MB, free: 7.082 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.287e-05/0.06677, allocations: 16 kB / 419.7 MB, free: 7.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007112/0.06748, allocations: 1.728 MB / 421.4 MB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.06749, allocations: 11.97 kB / 421.4 MB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008481/0.06834, allocations: 0.8698 MB / 422.3 MB, free: 4.297 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.06854, allocations: 131.4 kB / 422.4 MB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.811e-05/0.06859, allocations: 16 kB / 422.4 MB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.0688, allocations: 27.97 kB / 422.4 MB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.571e-05/0.06888, allocations: 48.52 kB / 422.5 MB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.06891, allocations: 16 kB / 422.5 MB, free: 4.062 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003412/0.06925, allocations: 387 kB / 422.9 MB, free: 3.691 MB / 394.7 MB Notification: Performance of sort global known variables: time 3e-08/0.06925, allocations: 4 kB / 422.9 MB, free: 3.688 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001239/0.07049, allocations: 407.9 kB / 423.3 MB, free: 3.289 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.0003106/0.0708, allocations: 135 kB / 423.4 MB, free: 3.145 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002142/0.07294, allocations: 1.774 MB / 425.2 MB, free: 1.301 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.07294, allocations: 0 / 425.2 MB, free: 1.301 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.07327, allocations: 374.4 kB / 425.6 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006646/0.07394, allocations: 197.8 kB / 425.8 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/0.07688, allocations: 1.795 MB / 427.5 MB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000239/0.07712, allocations: 256.7 kB / 427.8 MB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004207/0.07754, allocations: 181.8 kB / 428 MB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.07769, allocations: 64.48 kB / 428 MB, free: 14.36 MB / 410.7 MB Notification: Performance of SimCode: time 1.874e-06/0.07769, allocations: 0 / 428 MB, free: 14.36 MB / 410.7 MB Notification: Performance of Templates: time 0.1811/0.2588, allocations: 15.73 MB / 443.8 MB, free: 97.04 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.657993115019053]