Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Inverter.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_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AIMC_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6803/0.6803, allocations: 110.9 MB / 125.9 MB, free: 6.211 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001414/0.001414, allocations: 139.4 kB / 151.8 MB, free: 4.996 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002597/0.0002598, allocations: 4 kB / 184.9 MB, free: 3.926 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1337, allocations: 25.15 MB / 210 MB, free: 29.72 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04815/0.1819, allocations: 44.31 MB / 254.4 MB, free: 5.512 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001773/0.1821, allocations: 71.91 kB / 254.4 MB, free: 5.441 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05935/0.2415, allocations: 24.27 MB / 278.7 MB, free: 13.09 MB / 218.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2415, allocations: 0 / 278.7 MB, free: 13.09 MB / 218.7 MB Notification: Performance of Transformations before backend: time 8.602e-05/0.2416, allocations: 39.94 kB / 278.7 MB, free: 13.05 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.002814/0.2444, allocations: 1.576 MB / 280.3 MB, free: 11.43 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.2445, allocations: 8.031 kB / 280.3 MB, free: 11.42 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002372/0.2447, allocations: 158.1 kB / 280.5 MB, free: 11.26 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.2462, allocations: 0.8751 MB / 281.3 MB, free: 10.34 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.702e-05/0.2463, allocations: 98.58 kB / 281.4 MB, free: 10.24 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/0.2465, allocations: 128 kB / 281.6 MB, free: 10.12 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002741/0.2492, allocations: 1.798 MB / 283.4 MB, free: 8.25 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/0.2493, allocations: 3.906 kB / 283.4 MB, free: 8.246 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.2494, allocations: 60 kB / 283.4 MB, free: 8.188 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.306e-05/0.2495, allocations: 62.59 kB / 283.5 MB, free: 8.125 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002441/0.252, allocations: 1.506 MB / 285 MB, free: 6.613 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007067/0.259, allocations: 4.784 MB / 289.8 MB, free: 1.742 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/0.2612, allocations: 1.528 MB / 291.3 MB, free: 96 kB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.691e-05/0.2612, allocations: 8.656 kB / 291.3 MB, free: 88 kB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.2613, allocations: 47.14 kB / 291.4 MB, free: 32 kB / 218.7 MB Notification: Performance of pre-optimization done (n=77): time 2.424e-06/0.2613, allocations: 0 / 291.4 MB, free: 32 kB / 218.7 MB Notification: Performance of matching and sorting (n=98): time 0.1141/0.3753, allocations: 6.502 MB / 297.9 MB, free: 52.72 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.3754, allocations: 66.3 kB / 297.9 MB, free: 52.66 MB / 218.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/Machines.mo:7706:7-7708:33:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Mechanics/Rotational.mo:4773:7-4774:27:writable] Warning: Parameter loadTorqueStep.offsetTorque has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/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.0008994/0.3763, allocations: 0.5815 MB / 298.5 MB, free: 52.54 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 7.453e-05/0.3764, allocations: 41.95 kB / 298.5 MB, free: 52.51 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003202/0.3767, allocations: 0.5441 MB / 299.1 MB, free: 52.3 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002423/0.377, allocations: 342.1 kB / 299.4 MB, free: 52.09 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.377, allocations: 18 kB / 299.4 MB, free: 52.09 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3772, allocations: 388.5 kB / 299.8 MB, free: 51.77 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008941/0.3781, allocations: 0.6086 MB / 300.4 MB, free: 51.77 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000947/0.379, allocations: 0.6996 MB / 301.1 MB, free: 51.71 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008457/0.3799, allocations: 0.7144 MB / 301.8 MB, free: 51.7 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3799, allocations: 0 / 301.8 MB, free: 51.7 MB / 218.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003022/0.3829, allocations: 2.11 MB / 304 MB, free: 51.24 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.383, allocations: 10.42 kB / 304 MB, free: 51.23 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.383, allocations: 4.625 kB / 304 MB, free: 51.23 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/0.3845, allocations: 0.6973 MB / 304.7 MB, free: 51.04 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000605/0.3851, allocations: 166.3 kB / 304.8 MB, free: 51.04 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007961/0.3931, allocations: 8.874 MB / 313.7 MB, free: 45.08 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006537/0.3937, allocations: 76 kB / 313.8 MB, free: 45.06 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.51e-05/0.3938, allocations: 31.05 kB / 313.8 MB, free: 45.05 MB / 218.7 MB Warning: Assuming fixed start value for the following 6 variables: loadInertia.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(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.inertiaRotor.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 75 * 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: 3 * 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: 3 {(5,92.0%) 23,(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008859/0.3947, allocations: 0.5201 MB / 314.3 MB, free: 44.77 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000182/0.3949, allocations: 75.38 kB / 314.4 MB, free: 44.73 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003225/0.3981, allocations: 2.137 MB / 316.5 MB, free: 43.91 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.3982, allocations: 14.53 kB / 316.6 MB, free: 43.91 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.3982, allocations: 8 kB / 316.6 MB, free: 43.91 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.3982, allocations: 7.375 kB / 316.6 MB, free: 43.91 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005656/0.4038, allocations: 3.904 MB / 320.5 MB, free: 42.34 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4039, allocations: 0 / 320.5 MB, free: 42.34 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005539/0.4044, allocations: 144.4 kB / 320.6 MB, free: 42.33 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001577/0.406, allocations: 0.7327 MB / 321.3 MB, free: 42.13 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-05/0.4061, allocations: 31.31 kB / 321.4 MB, free: 42.11 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007483/0.4136, allocations: 8.692 MB / 330.1 MB, free: 34.92 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4136, allocations: 6.844 kB / 330.1 MB, free: 34.91 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003868/0.4175, allocations: 3.033 MB / 333.1 MB, free: 32.28 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004935/0.418, allocations: 287.1 kB / 333.4 MB, free: 32 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.4181, allocations: 22.91 kB / 333.4 MB, free: 31.98 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005231/0.4186, allocations: 79.34 kB / 333.5 MB, free: 31.93 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001611/0.4188, allocations: 78.58 kB / 333.6 MB, free: 31.88 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.739e-05/0.4189, allocations: 28.67 kB / 333.6 MB, free: 31.86 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0004312/0.4193, allocations: 447.7 kB / 334 MB, free: 31.48 MB / 218.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4193, allocations: 0 / 334 MB, free: 31.48 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.0009841/0.4203, allocations: 338.8 kB / 334.4 MB, free: 31.16 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * 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: 3 * 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: 3 {(7,69.4%) 21,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001677/0.4205, allocations: 141.5 kB / 334.5 MB, free: 31.01 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.002842/0.4233, allocations: 2.195 MB / 336.7 MB, free: 29.04 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4233, allocations: 0 / 336.7 MB, free: 29.04 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001944/0.4253, allocations: 1.528 MB / 338.2 MB, free: 27.65 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008102/0.4261, allocations: 179.9 kB / 338.4 MB, free: 27.52 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/0.4299, allocations: 3.765 MB / 342.2 MB, free: 24.09 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000748/0.4307, allocations: 1.455 MB / 343.6 MB, free: 22.6 MB / 218.7 MB Notification: Performance of simCode: alias equations: time 0.0004681/0.4311, allocations: 196.9 kB / 343.8 MB, free: 22.41 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.4313, allocations: 51.44 kB / 343.9 MB, free: 22.36 MB / 218.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4313, allocations: 0 / 343.9 MB, free: 22.36 MB / 218.7 MB Notification: Performance of Templates: time 0.02202/0.4533, allocations: 15.82 MB / 359.7 MB, free: 6.766 MB / 218.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Inverter.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Inverter.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Inverter.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Inverter.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_Inverter.pipe 2>&1)