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.7241/0.7241, allocations: 110.8 MB / 118.3 MB, free: 10.52 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001626/0.001626, allocations: 155.3 kB / 144 MB, free: 9.797 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.961e-05/1.971e-05, allocations: 4 kB / 173.9 MB, free: 11.87 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04501/0.04505, allocations: 25.17 MB / 199 MB, free: 2.652 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.1864, allocations: 43.47 MB / 242.5 MB, free: 12.47 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001716/0.1866, allocations: 67.95 kB / 242.6 MB, free: 12.41 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05607/0.2427, allocations: 22.69 MB / 265.2 MB, free: 5.73 MB / 202.7 MB Notification: Performance of FrontEnd: time 3.456e-06/0.2427, allocations: 2.438 kB / 265.3 MB, free: 5.73 MB / 202.7 MB Notification: Performance of Transformations before backend: time 7.645e-05/0.2428, allocations: 35.94 kB / 265.3 MB, free: 5.695 MB / 202.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.002477/0.2453, allocations: 1.381 MB / 266.7 MB, free: 4.27 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.2453, allocations: 12.03 kB / 266.7 MB, free: 4.258 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000251/0.2456, allocations: 154.2 kB / 266.8 MB, free: 4.105 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.2468, allocations: 0.7907 MB / 267.6 MB, free: 3.273 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.444e-05/0.2468, allocations: 36 kB / 267.7 MB, free: 3.238 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.247, allocations: 76 kB / 267.7 MB, free: 3.164 MB / 202.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001886/0.2489, allocations: 1.239 MB / 269 MB, free: 1.922 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.251, allocations: 1.417 MB / 270.4 MB, free: 444 kB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.672e-05/0.251, allocations: 7.906 kB / 270.4 MB, free: 436 kB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-05/0.2511, allocations: 3.953 kB / 270.4 MB, free: 432 kB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.144e-05/0.2512, allocations: 58.45 kB / 270.5 MB, free: 372 kB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006663/0.2579, allocations: 4.579 MB / 275 MB, free: 11.7 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.2597, allocations: 1.488 MB / 276.5 MB, free: 10.11 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.2608, allocations: 0.7036 MB / 277.2 MB, free: 9.41 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.665e-05/0.2609, allocations: 12.78 kB / 277.2 MB, free: 9.398 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.2609, allocations: 43.34 kB / 277.3 MB, free: 9.344 MB / 218.7 MB Notification: Performance of pre-optimization done (n=95): time 2.986e-06/0.2609, allocations: 0 / 277.3 MB, free: 9.344 MB / 218.7 MB Notification: Performance of matching and sorting (n=116): time 0.008212/0.2691, allocations: 4.278 MB / 281.6 MB, free: 4.996 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.2692, allocations: 72.66 kB / 281.6 MB, free: 4.914 MB / 218.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.000859/0.2701, allocations: 0.5255 MB / 282.2 MB, free: 4.383 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 9.541e-05/0.2702, allocations: 25.7 kB / 282.2 MB, free: 4.352 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/0.2706, allocations: 0.492 MB / 282.7 MB, free: 3.852 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003233/0.2709, allocations: 382.2 kB / 283 MB, free: 3.469 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.271, allocations: 0 / 283 MB, free: 3.469 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0002079/0.2712, allocations: 403.4 kB / 283.4 MB, free: 3.066 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007812/0.272, allocations: 0.5649 MB / 284 MB, free: 2.5 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000805/0.2728, allocations: 0.6673 MB / 284.7 MB, free: 1.809 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009049/0.2737, allocations: 0.6854 MB / 285.4 MB, free: 1.125 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2737, allocations: 0 / 285.4 MB, free: 1.125 MB / 218.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.1034/0.3771, allocations: 2.061 MB / 287.4 MB, free: 52.63 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.3772, allocations: 9.031 kB / 287.4 MB, free: 52.63 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.3772, allocations: 2.875 kB / 287.4 MB, free: 52.63 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001681/0.3789, allocations: 0.7345 MB / 288.2 MB, free: 52.59 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008478/0.3798, allocations: 192 kB / 288.3 MB, free: 52.59 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01066/0.3904, allocations: 9.71 MB / 298.1 MB, free: 47.77 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008433/0.3913, allocations: 50.64 kB / 298.1 MB, free: 47.77 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.112e-05/0.3914, allocations: 33.83 kB / 298.1 MB, free: 47.77 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.0003002/0.3917, allocations: 147 kB / 298.3 MB, free: 47.67 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.3919, allocations: 82.95 kB / 298.4 MB, free: 47.67 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0036/0.3955, allocations: 2.043 MB / 300.4 MB, free: 47.54 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/0.3955, allocations: 12.38 kB / 300.4 MB, free: 47.54 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.3956, allocations: 10.69 kB / 300.4 MB, free: 47.54 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/0.3956, allocations: 11.55 kB / 300.4 MB, free: 47.54 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005878/0.4015, allocations: 3.672 MB / 304.1 MB, free: 46.5 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.4015, allocations: 1.969 kB / 304.1 MB, free: 46.5 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006366/0.4021, allocations: 155.5 kB / 304.3 MB, free: 46.49 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001737/0.4039, allocations: 0.7639 MB / 305 MB, free: 46.27 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.735e-05/0.404, allocations: 14.67 kB / 305 MB, free: 46.27 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008258/0.4123, allocations: 9.574 MB / 314.6 MB, free: 39.38 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.4123, allocations: 3.875 kB / 314.6 MB, free: 39.38 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004051/0.4164, allocations: 2.972 MB / 317.6 MB, free: 38.09 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000603/0.417, allocations: 295.9 kB / 317.9 MB, free: 37.89 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/0.4172, allocations: 7.688 kB / 317.9 MB, free: 37.89 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006496/0.4179, allocations: 50.48 kB / 317.9 MB, free: 37.89 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/0.4182, allocations: 106.6 kB / 318 MB, free: 37.87 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.78e-05/0.4183, allocations: 34.78 kB / 318.1 MB, free: 37.86 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0004855/0.4188, allocations: 395.8 kB / 318.5 MB, free: 37.67 MB / 218.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4188, allocations: 0 / 318.5 MB, free: 37.67 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001351/0.4201, allocations: 309.9 kB / 318.8 MB, free: 37.67 MB / 218.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.0001966/0.4203, allocations: 119.2 kB / 318.9 MB, free: 37.58 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.002723/0.4231, allocations: 2.222 MB / 321.1 MB, free: 36.43 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4231, allocations: 0 / 321.1 MB, free: 36.43 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001795/0.4249, allocations: 1.559 MB / 322.7 MB, free: 35.52 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.426, allocations: 179.4 kB / 322.8 MB, free: 35.48 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003832/0.4299, allocations: 2.63 MB / 325.5 MB, free: 34.24 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007922/0.4307, allocations: 1.377 MB / 326.9 MB, free: 33.42 MB / 218.7 MB Notification: Performance of simCode: alias equations: time 0.0005851/0.4313, allocations: 190.8 kB / 327 MB, free: 33.41 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/0.4314, allocations: 58.25 kB / 327.1 MB, free: 33.39 MB / 218.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4315, allocations: 0 / 327.1 MB, free: 33.39 MB / 218.7 MB Notification: Performance of Templates: time 0.02219/0.4537, allocations: 16.02 MB / 343.1 MB, free: 21.43 MB / 218.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)