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.7986/0.7986, 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.001734/0.001734, allocations: 155.3 kB / 144 MB, free: 9.801 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.668e-05/1.672e-05, allocations: 4 kB / 173.9 MB, free: 11.88 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04871/0.04874, allocations: 25.17 MB / 199 MB, free: 2.66 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1495/0.1983, allocations: 43.55 MB / 242.6 MB, free: 12.4 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.1986, allocations: 65.14 kB / 242.6 MB, free: 12.34 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06301/0.2616, allocations: 24.07 MB / 266.7 MB, free: 4.285 MB / 202.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2617, allocations: 0.75 kB / 266.7 MB, free: 4.285 MB / 202.7 MB Notification: Performance of Transformations before backend: time 0.0001048/0.2618, allocations: 39.94 kB / 266.7 MB, free: 4.246 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.003622/0.2654, allocations: 1.483 MB / 268.2 MB, free: 2.719 MB / 202.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.2655, allocations: 8.031 kB / 268.2 MB, free: 2.711 MB / 202.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005334/0.266, allocations: 158.1 kB / 268.4 MB, free: 2.555 MB / 202.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.2679, allocations: 0.8751 MB / 269.3 MB, free: 1.637 MB / 202.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.197e-05/0.268, allocations: 40 kB / 269.3 MB, free: 1.598 MB / 202.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003401/0.2683, allocations: 76 kB / 269.4 MB, free: 1.523 MB / 202.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002815/0.2711, allocations: 1.36 MB / 270.7 MB, free: 164 kB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003126/0.2743, allocations: 1.561 MB / 272.3 MB, free: 14.54 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.418e-05/0.2743, allocations: 3.906 kB / 272.3 MB, free: 14.53 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.2745, allocations: 3.953 kB / 272.3 MB, free: 14.53 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-05/0.2745, allocations: 62.64 kB / 272.4 MB, free: 14.46 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007944/0.2825, allocations: 4.546 MB / 276.9 MB, free: 9.852 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.2843, allocations: 1.445 MB / 278.4 MB, free: 8.293 MB / 218.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007438/0.285, allocations: 0.542 MB / 278.9 MB, free: 7.75 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.769e-05/0.2851, allocations: 8.781 kB / 278.9 MB, free: 7.738 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.2851, allocations: 43.34 kB / 279 MB, free: 7.688 MB / 218.7 MB Notification: Performance of pre-optimization done (n=77): time 2.986e-06/0.2852, allocations: 0 / 279 MB, free: 7.688 MB / 218.7 MB Notification: Performance of matching and sorting (n=99): time 0.00828/0.2934, allocations: 4.206 MB / 283.2 MB, free: 3.41 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.2935, allocations: 64.72 kB / 283.2 MB, free: 3.336 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.001108/0.2947, allocations: 0.5254 MB / 283.7 MB, free: 2.805 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 8.257e-05/0.2948, allocations: 29.7 kB / 283.8 MB, free: 2.77 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004462/0.2952, allocations: 0.5383 MB / 284.3 MB, free: 2.223 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003309/0.2955, allocations: 331.1 kB / 284.6 MB, free: 1.895 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-05/0.2956, allocations: 0 / 284.6 MB, free: 1.895 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.000238/0.2959, allocations: 386.8 kB / 285 MB, free: 1.508 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007589/0.2966, allocations: 0.5531 MB / 285.6 MB, free: 0.9492 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008021/0.2974, allocations: 0.6335 MB / 286.2 MB, free: 308 kB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1061/0.4036, allocations: 0.6596 MB / 286.9 MB, free: 52.89 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.4036, allocations: 0 / 286.9 MB, free: 52.89 MB / 218.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003089/0.4067, allocations: 1.957 MB / 288.8 MB, free: 52.79 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.4068, allocations: 7.375 kB / 288.8 MB, free: 52.79 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.4068, allocations: 1.688 kB / 288.8 MB, free: 52.79 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/0.4084, allocations: 0.6826 MB / 289.5 MB, free: 52.76 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006815/0.4091, allocations: 172.3 kB / 289.7 MB, free: 52.76 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009862/0.419, allocations: 8.289 MB / 298 MB, free: 49.11 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009377/0.42, allocations: 55.86 kB / 298 MB, free: 49.11 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/0.4202, allocations: 31.95 kB / 298.1 MB, free: 49.11 MB / 218.7 MB Warning: Assuming fixed start value for the following 6 variables: loadInertia.w:VARIABLE(unit = "rad/s" ) "Absolute angular velocity of component (= der(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.inertiaRotor.phi:VARIABLE(unit = "rad" ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 76 * 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.0004266/0.4206, allocations: 132.2 kB / 298.2 MB, free: 49 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/0.4209, allocations: 85.92 kB / 298.3 MB, free: 48.98 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003443/0.4243, allocations: 1.961 MB / 300.2 MB, free: 48.86 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.4243, allocations: 11.09 kB / 300.2 MB, free: 48.86 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-05/0.4244, allocations: 6.25 kB / 300.2 MB, free: 48.86 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.4244, allocations: 10.17 kB / 300.3 MB, free: 48.86 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006108/0.4305, allocations: 3.592 MB / 303.8 MB, free: 47.63 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.4305, allocations: 0.6562 kB / 303.8 MB, free: 47.63 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000618/0.4312, allocations: 142.8 kB / 304 MB, free: 47.63 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001613/0.4328, allocations: 0.7062 MB / 304.7 MB, free: 47.44 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-05/0.4329, allocations: 11.81 kB / 304.7 MB, free: 47.43 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007056/0.44, allocations: 8.135 MB / 312.8 MB, free: 41.91 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.44, allocations: 0 / 312.8 MB, free: 41.91 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003577/0.4436, allocations: 2.889 MB / 315.7 MB, free: 40.64 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000518/0.4441, allocations: 293.7 kB / 316 MB, free: 40.45 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.4443, allocations: 9.219 kB / 316 MB, free: 40.45 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006032/0.4449, allocations: 65.08 kB / 316.1 MB, free: 40.45 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001849/0.4451, allocations: 78.81 kB / 316.2 MB, free: 40.44 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.344e-05/0.4452, allocations: 30.53 kB / 316.2 MB, free: 40.43 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0004555/0.4456, allocations: 404.7 kB / 316.6 MB, free: 40.24 MB / 218.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4456, allocations: 0 / 316.6 MB, free: 40.24 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001202/0.4469, allocations: 294.5 kB / 316.9 MB, free: 40.24 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 66 * 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,(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.0002001/0.4471, allocations: 110.3 kB / 317 MB, free: 40.15 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.002668/0.4497, allocations: 2.025 MB / 319 MB, free: 39.16 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4498, allocations: 3.125 kB / 319 MB, free: 39.16 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001747/0.4515, allocations: 1.407 MB / 320.4 MB, free: 38.39 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009435/0.4525, allocations: 159.5 kB / 320.6 MB, free: 38.36 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003676/0.4562, allocations: 2.599 MB / 323.2 MB, free: 37.19 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008748/0.4571, allocations: 1.456 MB / 324.6 MB, free: 36.35 MB / 218.7 MB Notification: Performance of simCode: alias equations: time 0.0005022/0.4576, allocations: 194.5 kB / 324.8 MB, free: 36.33 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.4577, allocations: 58.33 kB / 324.9 MB, free: 36.32 MB / 218.7 MB Notification: Performance of SimCode: time 7.12e-07/0.4578, allocations: 0 / 324.9 MB, free: 36.32 MB / 218.7 MB Notification: Performance of Templates: time 0.01927/0.477, allocations: 14.41 MB / 339.3 MB, free: 25.91 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)