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.7571/0.7571, 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.002134/0.002134, allocations: 147.5 kB / 149.1 MB, free: 0.957 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 3.755e-05/3.758e-05, allocations: 0 / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07622/0.07628, allocations: 25.18 MB / 205.4 MB, free: 8.426 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2706/0.3469, allocations: 44.21 MB / 249.6 MB, free: 19.18 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/0.3472, allocations: 66.56 kB / 249.7 MB, free: 19.18 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05477/0.402, allocations: 24.34 MB / 274 MB, free: 12.11 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.402, allocations: 0 / 274 MB, free: 12.11 MB / 186.7 MB Notification: Performance of Transformations before backend: time 8.349e-05/0.4021, allocations: 34.69 kB / 274 MB, free: 12.1 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.002283/0.4044, allocations: 1.488 MB / 275.5 MB, free: 11.17 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.4044, allocations: 15.31 kB / 275.5 MB, free: 11.17 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002224/0.4047, allocations: 154.8 kB / 275.7 MB, free: 11.09 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.4059, allocations: 0.8725 MB / 276.6 MB, free: 10.64 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.704e-05/0.406, allocations: 96.52 kB / 276.7 MB, free: 10.64 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.4061, allocations: 130.5 kB / 276.8 MB, free: 10.63 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/0.4084, allocations: 1.752 MB / 278.5 MB, free: 10.18 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.4084, allocations: 0 / 278.5 MB, free: 10.18 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001239/0.4086, allocations: 57.59 kB / 278.6 MB, free: 10.18 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-05/0.4087, allocations: 60.97 kB / 278.7 MB, free: 10.15 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.4106, allocations: 1.424 MB / 280.1 MB, free: 9.254 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006374/0.417, allocations: 4.773 MB / 284.9 MB, free: 5.316 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.4185, allocations: 1.474 MB / 286.3 MB, free: 3.719 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000633/0.4192, allocations: 0.5771 MB / 286.9 MB, free: 3.141 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.406e-05/0.4192, allocations: 8.781 kB / 286.9 MB, free: 3.133 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.4193, allocations: 43.34 kB / 287 MB, free: 3.082 MB / 186.7 MB Notification: Performance of pre-optimization done (n=77): time 2.735e-06/0.4193, allocations: 0 / 287 MB, free: 3.082 MB / 186.7 MB Notification: Performance of matching and sorting (n=99): time 0.01166/0.4309, allocations: 5.498 MB / 292.5 MB, free: 13.52 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.431, allocations: 64.41 kB / 292.5 MB, free: 13.45 MB / 202.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.0009225/0.432, allocations: 0.577 MB / 293.1 MB, free: 12.86 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 7.821e-05/0.432, allocations: 45.7 kB / 293.1 MB, free: 12.81 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/0.4324, allocations: 0.5422 MB / 293.7 MB, free: 12.26 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/0.4327, allocations: 343 kB / 294 MB, free: 11.92 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.4328, allocations: 16 kB / 294 MB, free: 11.91 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.433, allocations: 394.7 kB / 294.4 MB, free: 11.51 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007982/0.4338, allocations: 0.5681 MB / 295 MB, free: 10.94 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009052/0.4347, allocations: 0.6639 MB / 295.6 MB, free: 10.26 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009464/0.4357, allocations: 0.6666 MB / 296.3 MB, free: 9.594 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4357, allocations: 0 / 296.3 MB, free: 9.594 MB / 202.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003403/0.4391, allocations: 2.046 MB / 298.4 MB, free: 7.531 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.4391, allocations: 4 kB / 298.4 MB, free: 7.527 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.4391, allocations: 4 kB / 298.4 MB, free: 7.523 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001763/0.4409, allocations: 0.6909 MB / 299.1 MB, free: 6.82 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006958/0.4416, allocations: 175.7 kB / 299.2 MB, free: 6.648 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.4518, allocations: 8.622 MB / 307.9 MB, free: 13.62 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008717/0.4527, allocations: 76.28 kB / 307.9 MB, free: 13.55 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.43e-05/0.4528, allocations: 28 kB / 308 MB, free: 13.52 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.0003496/0.4531, allocations: 173.9 kB / 308.1 MB, free: 13.34 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.4533, allocations: 75.06 kB / 308.2 MB, free: 13.27 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003733/0.457, allocations: 2.047 MB / 310.2 MB, free: 11.2 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.4571, allocations: 19.97 kB / 310.3 MB, free: 11.18 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.4571, allocations: 7.938 kB / 310.3 MB, free: 11.17 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.4571, allocations: 3.984 kB / 310.3 MB, free: 11.17 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006638/0.4638, allocations: 3.853 MB / 314.1 MB, free: 7.23 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4638, allocations: 0 / 314.1 MB, free: 7.23 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006036/0.4644, allocations: 147.9 kB / 314.3 MB, free: 7.086 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001823/0.4662, allocations: 0.7099 MB / 315 MB, free: 6.363 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.412e-05/0.4663, allocations: 31.98 kB / 315 MB, free: 6.332 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009806/0.4762, allocations: 8.457 MB / 323.5 MB, free: 13.47 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4762, allocations: 0 / 323.5 MB, free: 13.47 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004729/0.4809, allocations: 2.962 MB / 326.4 MB, free: 10.43 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006901/0.4817, allocations: 299.8 kB / 326.7 MB, free: 10.12 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001691/0.4818, allocations: 27.98 kB / 326.8 MB, free: 10.09 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006699/0.4825, allocations: 79.91 kB / 326.8 MB, free: 10.01 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002496/0.4828, allocations: 80.88 kB / 326.9 MB, free: 9.934 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.954e-05/0.4828, allocations: 28.19 kB / 326.9 MB, free: 9.906 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0006575/0.4835, allocations: 441.5 kB / 327.4 MB, free: 9.48 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4835, allocations: 0 / 327.4 MB, free: 9.48 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.00124/0.4848, allocations: 343.9 kB / 327.7 MB, free: 9.145 MB / 234.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.0002439/0.485, allocations: 139.1 kB / 327.8 MB, free: 9 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.003551/0.4886, allocations: 2.098 MB / 329.9 MB, free: 6.836 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4886, allocations: 0 / 329.9 MB, free: 6.836 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002292/0.4909, allocations: 1.452 MB / 331.4 MB, free: 5.332 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.492, allocations: 178.8 kB / 331.6 MB, free: 5.156 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005253/0.4973, allocations: 2.658 MB / 334.2 MB, free: 2.453 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/0.4989, allocations: 1.454 MB / 335.7 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0007905/0.4997, allocations: 202.8 kB / 335.9 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001925/0.4999, allocations: 59.42 kB / 335.9 MB, free: 0.707 MB / 234.7 MB Notification: Performance of SimCode: time 1.563e-06/0.4999, allocations: 0 / 335.9 MB, free: 0.707 MB / 234.7 MB Notification: Performance of Templates: time 0.1345/0.6345, allocations: 15.78 MB / 351.7 MB, free: 63.26 MB / 234.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)