Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AIMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7348/0.7348, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001629/0.001629, allocations: 147.5 kB / 149.1 MB, free: 0.957 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.505e-05/2.509e-05, allocations: 4 kB / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04731/0.04735, allocations: 25.18 MB / 205.4 MB, free: 8.438 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1807/0.2281, allocations: 44.13 MB / 249.5 MB, free: 19.24 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/0.2283, allocations: 66.12 kB / 249.6 MB, free: 19.24 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05091/0.2792, allocations: 22.95 MB / 272.5 MB, free: 12.81 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2793, allocations: 0 / 272.5 MB, free: 12.81 MB / 186.7 MB Notification: Performance of Transformations before backend: time 6.358e-05/0.2793, allocations: 35.03 kB / 272.6 MB, free: 12.8 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002132/0.2815, allocations: 1.381 MB / 274 MB, free: 11.93 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.2815, allocations: 7.688 kB / 274 MB, free: 11.93 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.2817, allocations: 154.7 kB / 274.1 MB, free: 11.84 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.2828, allocations: 0.7975 MB / 274.9 MB, free: 11.42 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/0.2829, allocations: 86.45 kB / 275 MB, free: 11.41 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.283, allocations: 131.4 kB / 275.1 MB, free: 11.41 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/0.2851, allocations: 1.584 MB / 276.7 MB, free: 10.98 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.33e-05/0.2852, allocations: 11.72 kB / 276.7 MB, free: 10.97 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.2853, allocations: 50.38 kB / 276.8 MB, free: 10.97 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.784e-05/0.2853, allocations: 56.97 kB / 276.8 MB, free: 10.96 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.2871, allocations: 1.292 MB / 278.1 MB, free: 10.84 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006405/0.2935, allocations: 4.813 MB / 282.9 MB, free: 7.258 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.295, allocations: 1.534 MB / 284.5 MB, free: 5.625 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009385/0.296, allocations: 0.7288 MB / 285.2 MB, free: 4.895 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.093e-05/0.2961, allocations: 12.78 kB / 285.2 MB, free: 4.883 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.2961, allocations: 47.28 kB / 285.2 MB, free: 4.828 MB / 186.7 MB Notification: Performance of pre-optimization done (n=95): time 2.375e-06/0.2961, allocations: 0 / 285.2 MB, free: 4.828 MB / 186.7 MB Notification: Performance of matching and sorting (n=116): time 0.01195/0.3081, allocations: 5.616 MB / 290.9 MB, free: 15.14 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.3082, allocations: 68.36 kB / 290.9 MB, free: 15.06 MB / 202.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:1719:9-1721:75:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:1716:9-1718:75:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:1713:9-1715:75:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=2.898223593858831 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7411:7-7413:73:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7408:7-7410:73:writable] Warning: Parameter aimc.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7406:7-7407:28:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7405:7-7405:75:writable] Warning: Parameter aimc.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7272:7-7274:46:writable] Warning: Parameter aimc.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=aimc.Jr) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7268:7-7268:72:writable] Warning: Parameter aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.3092, allocations: 0.5961 MB / 291.5 MB, free: 14.46 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 9.974e-05/0.3093, allocations: 45.7 kB / 291.6 MB, free: 14.41 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004144/0.3098, allocations: 0.5075 MB / 292.1 MB, free: 13.9 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000382/0.3101, allocations: 394.2 kB / 292.5 MB, free: 13.51 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.3102, allocations: 20 kB / 292.5 MB, free: 13.49 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0002592/0.3105, allocations: 398.7 kB / 292.9 MB, free: 13.09 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009079/0.3114, allocations: 0.5805 MB / 293.5 MB, free: 12.51 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009592/0.3124, allocations: 0.7007 MB / 294.2 MB, free: 11.78 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.3134, allocations: 0.7006 MB / 294.9 MB, free: 11.08 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3134, allocations: 0 / 294.9 MB, free: 11.08 MB / 202.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003664/0.3171, allocations: 2.171 MB / 297 MB, free: 8.887 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.3171, allocations: 11.98 kB / 297 MB, free: 8.875 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.3171, allocations: 0 / 297 MB, free: 8.875 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001758/0.3189, allocations: 0.7515 MB / 297.8 MB, free: 8.109 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007449/0.3196, allocations: 195.7 kB / 298 MB, free: 7.918 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/0.3305, allocations: 10.11 MB / 308.1 MB, free: 13.26 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009134/0.3315, allocations: 67.97 kB / 308.2 MB, free: 13.2 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.981e-05/0.3316, allocations: 35.98 kB / 308.2 MB, free: 13.16 MB / 218.7 MB Warning: Assuming fixed start value for the following 9 variables: cStart.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real cRun.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real quadraticLoadTorque.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] aimc.i_0_s:VARIABLE(unit = "A" stateSelect=StateSelect.prefer ) "stator zero-sequence current" type: Real aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,87.5%) 23,(3,100.0%) 9,(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003375/0.3319, allocations: 181.3 kB / 308.4 MB, free: 12.98 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.3321, allocations: 86.88 kB / 308.5 MB, free: 12.89 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003855/0.3359, allocations: 2.142 MB / 310.6 MB, free: 10.72 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.336, allocations: 12 kB / 310.6 MB, free: 10.71 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.336, allocations: 8 kB / 310.6 MB, free: 10.7 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.336, allocations: 3.984 kB / 310.6 MB, free: 10.7 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00687/0.3429, allocations: 3.935 MB / 314.6 MB, free: 6.676 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.928e-06/0.3429, allocations: 7.984 kB / 314.6 MB, free: 6.668 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007142/0.3437, allocations: 151.8 kB / 314.7 MB, free: 6.52 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001903/0.3456, allocations: 0.7854 MB / 315.5 MB, free: 5.719 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.3457, allocations: 31.97 kB / 315.5 MB, free: 5.688 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0111/0.3568, allocations: 9.956 MB / 325.5 MB, free: 11.2 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3569, allocations: 3.938 kB / 325.5 MB, free: 11.19 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004831/0.3617, allocations: 3.06 MB / 328.6 MB, free: 8.059 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006546/0.3624, allocations: 300 kB / 328.8 MB, free: 7.746 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.3625, allocations: 28 kB / 328.9 MB, free: 7.719 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005762/0.3631, allocations: 71.92 kB / 328.9 MB, free: 7.648 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002999/0.3634, allocations: 104.8 kB / 329 MB, free: 7.547 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/0.3635, allocations: 31.98 kB / 329.1 MB, free: 7.516 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0006296/0.3642, allocations: 463.1 kB / 329.5 MB, free: 7.066 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3642, allocations: 0 / 329.5 MB, free: 7.066 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001231/0.3654, allocations: 364 kB / 329.9 MB, free: 6.711 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,87.5%) 23,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002404/0.3657, allocations: 135.2 kB / 330 MB, free: 6.57 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.00364/0.3693, allocations: 2.313 MB / 332.3 MB, free: 4.184 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.3693, allocations: 0 / 332.3 MB, free: 4.184 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002477/0.3718, allocations: 1.63 MB / 334 MB, free: 2.48 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00136/0.3732, allocations: 219.2 kB / 334.2 MB, free: 2.27 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1277/0.5009, allocations: 2.67 MB / 336.8 MB, free: 64.51 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.5021, allocations: 1.377 MB / 338.2 MB, free: 63.8 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0006995/0.5028, allocations: 197.5 kB / 338.4 MB, free: 63.79 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.503, allocations: 61.5 kB / 338.5 MB, free: 63.78 MB / 234.7 MB Notification: Performance of SimCode: time 8.92e-07/0.503, allocations: 3.438 kB / 338.5 MB, free: 63.78 MB / 234.7 MB Notification: Performance of Templates: time 0.02747/0.5305, allocations: 17.65 MB / 356.1 MB, free: 63 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Steinmetz.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Steinmetz.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Steinmetz.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Steinmetz.pipe 2>&1)