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.6457/0.6457, allocations: 110.9 MB / 125.9 MB, free: 6.215 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001596/0.001596, allocations: 142.6 kB / 151.8 MB, free: 4.992 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002479/0.0002479, allocations: 7.984 kB / 184.9 MB, free: 3.918 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1267, allocations: 25.15 MB / 210 MB, free: 29.77 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05306/0.1798, allocations: 44.23 MB / 254.3 MB, free: 5.574 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.1801, allocations: 71.94 kB / 254.3 MB, free: 5.504 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05984/0.2399, allocations: 22.88 MB / 277.2 MB, free: 14.55 MB / 218.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.24, allocations: 0 / 277.2 MB, free: 14.55 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0001421/0.2401, allocations: 35.98 kB / 277.3 MB, free: 14.52 MB / 218.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.004007/0.2442, allocations: 1.486 MB / 278.7 MB, free: 12.98 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.526e-05/0.2442, allocations: 12.03 kB / 278.8 MB, free: 12.97 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004592/0.2447, allocations: 146.3 kB / 278.9 MB, free: 12.82 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.2464, allocations: 0.7907 MB / 279.7 MB, free: 11.99 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-05/0.2465, allocations: 90.42 kB / 279.8 MB, free: 11.9 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002127/0.2467, allocations: 131.8 kB / 279.9 MB, free: 11.77 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00285/0.2496, allocations: 1.62 MB / 281.5 MB, free: 10.07 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.706e-05/0.2496, allocations: 4 kB / 281.5 MB, free: 10.07 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.2498, allocations: 55.98 kB / 281.6 MB, free: 10.02 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.816e-05/0.2498, allocations: 58.41 kB / 281.6 MB, free: 9.957 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/0.2521, allocations: 1.341 MB / 283 MB, free: 8.609 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007733/0.2599, allocations: 4.81 MB / 287.8 MB, free: 3.691 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.262, allocations: 1.553 MB / 289.4 MB, free: 2.035 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.27e-05/0.2621, allocations: 12.98 kB / 289.4 MB, free: 2.023 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.2621, allocations: 43.56 kB / 289.4 MB, free: 1.973 MB / 218.7 MB Notification: Performance of pre-optimization done (n=95): time 3.467e-06/0.2621, allocations: 0 / 289.4 MB, free: 1.973 MB / 218.7 MB Notification: Performance of matching and sorting (n=116): time 0.1138/0.3759, allocations: 6.893 MB / 296.3 MB, free: 53.3 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.376, allocations: 64.78 kB / 296.4 MB, free: 53.23 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.0008615/0.3768, allocations: 0.61 MB / 297 MB, free: 53.11 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 7.856e-05/0.3769, allocations: 45.17 kB / 297 MB, free: 53.07 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/0.3772, allocations: 0.4929 MB / 297.5 MB, free: 52.88 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/0.3775, allocations: 397.5 kB / 297.9 MB, free: 52.64 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.739e-05/0.3775, allocations: 20.44 kB / 297.9 MB, free: 52.64 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3777, allocations: 396.6 kB / 298.3 MB, free: 52.33 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008529/0.3785, allocations: 0.5999 MB / 298.9 MB, free: 52.33 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009923/0.3795, allocations: 0.7198 MB / 299.6 MB, free: 52.25 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.3806, allocations: 0.7261 MB / 300.4 MB, free: 52.21 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3806, allocations: 0 / 300.4 MB, free: 52.21 MB / 218.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003839/0.3844, allocations: 2.267 MB / 302.6 MB, free: 51.89 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.3845, allocations: 8.5 kB / 302.6 MB, free: 51.89 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.3845, allocations: 0 / 302.6 MB, free: 51.89 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001829/0.3863, allocations: 0.834 MB / 303.5 MB, free: 51.64 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006004/0.3869, allocations: 169.4 kB / 303.6 MB, free: 51.64 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/0.3973, allocations: 12.19 MB / 315.8 MB, free: 42.68 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008151/0.3982, allocations: 75.33 kB / 315.9 MB, free: 42.66 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.62e-05/0.3983, allocations: 36.3 kB / 315.9 MB, free: 42.65 MB / 218.7 MB Warning: Assuming fixed start value for the following 9 variables: cStart.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real cRun.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real quadraticLoadTorque.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer ) "rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer ) "stator space phasor current / rotor fixed frame" type: Real [2] aimc.i_0_s:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer ) "stator zero-sequence current" type: Real aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 80 * 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: 5 * 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: 5 {(4,87.5%) 23,(2,100.0%) 8,(3,100.0%) 9,(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008613/0.3991, allocations: 478.6 kB / 316.4 MB, free: 42.39 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.3993, allocations: 95.64 kB / 316.5 MB, free: 42.34 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003281/0.4026, allocations: 2.238 MB / 318.7 MB, free: 41.45 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.497e-06/0.4026, allocations: 16.12 kB / 318.7 MB, free: 41.45 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.4026, allocations: 10 kB / 318.8 MB, free: 41.45 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.4026, allocations: 6.797 kB / 318.8 MB, free: 41.45 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005906/0.4085, allocations: 4.02 MB / 322.8 MB, free: 39.75 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4086, allocations: 0 / 322.8 MB, free: 39.75 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005486/0.4091, allocations: 127.9 kB / 322.9 MB, free: 39.73 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001859/0.411, allocations: 0.8571 MB / 323.8 MB, free: 39.48 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.147e-05/0.4111, allocations: 30.05 kB / 323.8 MB, free: 39.46 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009654/0.4208, allocations: 12.07 MB / 335.9 MB, free: 28.71 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4208, allocations: 4 kB / 335.9 MB, free: 28.71 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003997/0.4248, allocations: 3.182 MB / 339 MB, free: 25.88 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005659/0.4254, allocations: 299.9 kB / 339.3 MB, free: 25.6 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.4255, allocations: 27.8 kB / 339.4 MB, free: 25.57 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005321/0.426, allocations: 66.88 kB / 339.4 MB, free: 25.53 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002669/0.4263, allocations: 116 kB / 339.5 MB, free: 25.46 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.377e-05/0.4264, allocations: 28 kB / 339.6 MB, free: 25.43 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0005135/0.4269, allocations: 465.3 kB / 340 MB, free: 25.04 MB / 218.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4269, allocations: 0 / 340 MB, free: 25.04 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001258/0.4282, allocations: 379.8 kB / 340.4 MB, free: 24.68 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 61 * 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: 5 * 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: 5 {(4,87.5%) 23,(1,100.0%) 1,(2,100.0%) 8,(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.0002026/0.4284, allocations: 135.1 kB / 340.5 MB, free: 24.54 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.003131/0.4315, allocations: 2.512 MB / 343 MB, free: 22.22 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4315, allocations: 0 / 343 MB, free: 22.22 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00202/0.4336, allocations: 1.81 MB / 344.9 MB, free: 20.53 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.4346, allocations: 220.4 kB / 345.1 MB, free: 20.37 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/0.4387, allocations: 3.814 MB / 348.9 MB, free: 16.71 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000729/0.4395, allocations: 1.383 MB / 350.3 MB, free: 15.3 MB / 218.7 MB Notification: Performance of simCode: alias equations: time 0.0004838/0.4399, allocations: 186.4 kB / 350.4 MB, free: 15.12 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.4401, allocations: 59.44 kB / 350.5 MB, free: 15.07 MB / 218.7 MB Notification: Performance of SimCode: time 1.162e-06/0.4401, allocations: 0 / 350.5 MB, free: 15.07 MB / 218.7 MB Notification: Performance of Templates: time 0.02454/0.4647, allocations: 18.31 MB / 368.8 MB, free: 12.88 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)