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.001409/0.001409, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.003229/0.003229, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.491/1.491, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.178/0.178, allocations: 29.42 MB / 290.1 MB, free: 3.289 MB / 270.1 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.743e-06/1.743e-06, allocations: 0 / 430.7 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.876e-05, allocations: 6.219 kB / 430.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv): time 0.009613/0.009642, allocations: 6.806 MB / 437.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006111/0.01575, allocations: 2.863 MB / 440.4 MB, free: 8.238 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006809/0.01643, allocations: 47.62 kB / 440.4 MB, free: 8.191 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.01791, allocations: 365.5 kB / 440.8 MB, free: 7.832 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.01978, allocations: 0.6602 MB / 441.4 MB, free: 7.168 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.0209, allocations: 465.7 kB / 441.9 MB, free: 6.715 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002067/0.02297, allocations: 1.519 MB / 443.4 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.02455, allocations: 1.062 MB / 444.5 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.02577, allocations: 0.8223 MB / 445.3 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009623/0.02673, allocations: 0.5609 MB / 445.9 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002059/0.02694, allocations: 116 kB / 446 MB, free: 2.605 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007495/0.02769, allocations: 383.3 kB / 446.4 MB, free: 2.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004465/0.02813, allocations: 418.8 kB / 446.8 MB, free: 1.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006088/0.02874, allocations: 395.1 kB / 447.1 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2199/0.2486, allocations: 1.721 MB / 448.9 MB, free: 18.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2486, allocations: 1.844 kB / 448.9 MB, free: 18.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2486, allocations: 0 / 448.9 MB, free: 18.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.586e-05/0.2487, allocations: 0 / 448.9 MB, free: 18.87 MB / 366.1 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.002734/0.2514, allocations: 1.372 MB / 450.2 MB, free: 18.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.2515, allocations: 14.47 kB / 450.3 MB, free: 18.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007741/0.2523, allocations: 173.2 kB / 450.4 MB, free: 18.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.2537, allocations: 0.7589 MB / 451.2 MB, free: 17.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.024e-05/0.2538, allocations: 64.12 kB / 451.2 MB, free: 17.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/0.254, allocations: 93.45 kB / 451.3 MB, free: 17.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.256, allocations: 1.214 MB / 452.5 MB, free: 17.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.619e-05/0.2561, allocations: 3.375 kB / 452.6 MB, free: 17.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.2562, allocations: 44.17 kB / 452.6 MB, free: 17.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001393/0.2563, allocations: 63.97 kB / 452.7 MB, free: 17.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.2581, allocations: 0.9336 MB / 453.6 MB, free: 17.64 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005566/0.2636, allocations: 3.98 MB / 457.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.2648, allocations: 0.5716 MB / 458.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006048/0.2654, allocations: 316 kB / 458.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.787e-05/0.2655, allocations: 11.12 kB / 458.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.2655, allocations: 38.39 kB / 458.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.395e-06/0.2655, allocations: 1.031 kB / 458.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=62): time 0.006171/0.2717, allocations: 2.207 MB / 460.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.151e-05/0.2717, allocations: 170.8 kB / 460.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.273, allocations: 0.6168 MB / 461.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.275e-05/0.2731, allocations: 37.17 kB / 461.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/0.2734, allocations: 498.9 kB / 462 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.2737, allocations: 227.5 kB / 462.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.2739, allocations: 158.6 kB / 462.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2741, allocations: 383.9 kB / 462.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005705/0.2747, allocations: 276.5 kB / 463 MB, free: 12.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/0.2753, allocations: 0.5674 MB / 463.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00409/0.2794, allocations: 1.444 MB / 465 MB, free: 11.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.2794, allocations: 3.375 kB / 465.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003352/0.2827, allocations: 1.277 MB / 466.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.2828, allocations: 11.69 kB / 466.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.2828, allocations: 7.75 kB / 466.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001687/0.2845, allocations: 434.4 kB / 466.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/0.2851, allocations: 147.3 kB / 466.9 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009331/0.2944, allocations: 6.393 MB / 473.3 MB, free: 7.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009323/0.2953, allocations: 34.48 kB / 473.3 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.407e-05/0.2954, allocations: 40 kB / 473.4 MB, free: 7.105 MB / 366.1 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.0009933/0.2964, allocations: 0.5028 MB / 473.9 MB, free: 6.855 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006072/0.297, allocations: 0.5608 MB / 474.4 MB, free: 6.391 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003298/0.3003, allocations: 1.408 MB / 475.9 MB, free: 5.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.775e-06/0.3003, allocations: 2.125 kB / 475.9 MB, free: 5.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization_lambda0): time 0.002821/0.3031, allocations: 1.205 MB / 477.1 MB, free: 5.285 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.3031, allocations: 8.25 kB / 477.1 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.3032, allocations: 6.875 kB / 477.1 MB, free: 5.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/0.3048, allocations: 424.2 kB / 477.5 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006367/0.3054, allocations: 142.5 kB / 477.6 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007175/0.3126, allocations: 6.146 MB / 483.8 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008721/0.3134, allocations: 46.84 kB / 483.8 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.3136, allocations: 34.14 kB / 483.9 MB, free: 0.8242 MB / 366.1 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.0003674/0.3139, allocations: 229.2 kB / 484.1 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000277/0.3142, allocations: 80.53 kB / 484.2 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.3156, allocations: 0.7329 MB / 484.9 MB, free: 140 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.3156, allocations: 9.625 kB / 484.9 MB, free: 140 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.3156, allocations: 0 / 484.9 MB, free: 140 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.3156, allocations: 3.984 kB / 484.9 MB, free: 136 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003471/0.3191, allocations: 1.487 MB / 486.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3191, allocations: 0 / 486.4 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008005/0.3199, allocations: 138.6 kB / 486.5 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001314/0.32, allocations: 23.81 kB / 486.5 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-05/0.3201, allocations: 15.98 kB / 486.6 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.3214, allocations: 1.267 MB / 487.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3214, allocations: 0 / 487.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.3236, allocations: 1.193 MB / 489 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/0.324, allocations: 135.5 kB / 489.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.3241, allocations: 16 kB / 489.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004821/0.3246, allocations: 32.06 kB / 489.2 MB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.3248, allocations: 48.52 kB / 489.3 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.3248, allocations: 16 kB / 489.3 MB, free: 12.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006446/0.3254, allocations: 419 kB / 489.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3254, allocations: 3.469 kB / 489.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001946/0.3274, allocations: 411.9 kB / 490.1 MB, free: 11.28 MB / 382.1 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.0003861/0.3278, allocations: 139.1 kB / 490.2 MB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004371/0.3321, allocations: 1.909 MB / 492.1 MB, free: 9.246 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.3322, allocations: 4 kB / 492.1 MB, free: 9.242 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007729/0.3329, allocations: 426.4 kB / 492.5 MB, free: 8.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.3341, allocations: 190.5 kB / 492.7 MB, free: 8.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/0.3381, allocations: 1.946 MB / 494.7 MB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007558/0.3388, allocations: 0.5134 MB / 495.2 MB, free: 6.129 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008237/0.3396, allocations: 209.8 kB / 495.4 MB, free: 5.922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.3399, allocations: 68.42 kB / 495.5 MB, free: 5.855 MB / 382.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3399, allocations: 0 / 495.5 MB, free: 5.855 MB / 382.1 MB Notification: Performance of Templates: time 0.04051/0.3804, allocations: 15.4 MB / 0.4989 GB, free: 6.699 MB / 398.1 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.SM_ctrlAv.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.455464132130146] Failed to read output from testmodel.py, exit status != 0: 0.3904411569237709 0.405832046 0.15402079800000001 Calling exit ...