Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_DOL.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_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.AIMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7139/0.7139, allocations: 110.9 MB / 125.9 MB, free: 6.203 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001757/0.001757, allocations: 138.7 kB / 151.8 MB, free: 4.984 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00024/0.00024, allocations: 4 kB / 184.9 MB, free: 3.914 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1781, allocations: 25.16 MB / 210 MB, free: 29.74 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07072/0.2488, allocations: 45.65 MB / 255.7 MB, free: 4.145 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.249, allocations: 71.95 kB / 255.8 MB, free: 4.074 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07061/0.3197, allocations: 28.38 MB / 284.2 MB, free: 7.574 MB / 218.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3197, allocations: 0 / 284.2 MB, free: 7.574 MB / 218.7 MB Notification: Performance of Transformations before backend: time 0.0001488/0.3199, allocations: 43.94 kB / 284.2 MB, free: 7.531 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: 390 * Number of variables: 390 Notification: Performance of Generate backend data structure: time 0.004543/0.3244, allocations: 1.892 MB / 286.1 MB, free: 5.582 MB / 218.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3245, allocations: 8.031 kB / 286.1 MB, free: 5.574 MB / 218.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006675/0.3251, allocations: 189.8 kB / 286.3 MB, free: 5.387 MB / 218.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002391/0.3275, allocations: 1.118 MB / 287.4 MB, free: 4.223 MB / 218.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.551e-05/0.3276, allocations: 115 kB / 287.5 MB, free: 4.109 MB / 218.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/0.3279, allocations: 155.8 kB / 287.7 MB, free: 3.957 MB / 218.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003308/0.3312, allocations: 2.148 MB / 289.8 MB, free: 1.73 MB / 218.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.3312, allocations: 3.938 kB / 289.8 MB, free: 1.727 MB / 218.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/0.3314, allocations: 64 kB / 289.9 MB, free: 1.664 MB / 218.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-05/0.3315, allocations: 67.03 kB / 289.9 MB, free: 1.598 MB / 218.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1075/0.4389, allocations: 1.839 MB / 291.8 MB, free: 49.62 MB / 218.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0128/0.4518, allocations: 5.976 MB / 297.8 MB, free: 48.67 MB / 218.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/0.4542, allocations: 2.01 MB / 299.8 MB, free: 47.79 MB / 218.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.195e-05/0.4543, allocations: 11.2 kB / 299.8 MB, free: 47.79 MB / 218.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.4544, allocations: 49.92 kB / 299.8 MB, free: 47.75 MB / 218.7 MB Notification: Performance of pre-optimization done (n=94): time 3.125e-06/0.4544, allocations: 1.312 kB / 299.8 MB, free: 47.75 MB / 218.7 MB Notification: Performance of matching and sorting (n=114): time 0.0152/0.4696, allocations: 6.969 MB / 306.8 MB, free: 46.37 MB / 218.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.4696, allocations: 63.88 kB / 306.9 MB, free: 46.3 MB / 218.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/MultiPhase.mo:1627:7-1628:56:writable] Warning: Parameter idealCloser.Goff[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/MultiPhase.mo:1627:7-1628:56:writable] Warning: Parameter idealCloser.Goff[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/MultiPhase.mo:1627:7-1628:56:writable] Warning: Parameter idealCloser.Goff[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/MultiPhase.mo:1625:7-1626:55:writable] Warning: Parameter idealCloser.Ron[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/MultiPhase.mo:1625:7-1626:55:writable] Warning: Parameter idealCloser.Ron[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/Electrical/MultiPhase.mo:1625:7-1626:55:writable] Warning: Parameter idealCloser.Ron[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-05) 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.001397/0.4711, allocations: 0.8759 MB / 307.7 MB, free: 45.98 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 7.766e-05/0.4711, allocations: 45.45 kB / 307.8 MB, free: 45.93 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003456/0.4715, allocations: 0.6538 MB / 308.4 MB, free: 45.47 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/0.4718, allocations: 384.7 kB / 308.8 MB, free: 45.18 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/0.4718, allocations: 19.88 kB / 308.8 MB, free: 45.16 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.4719, allocations: 348.9 kB / 309.2 MB, free: 44.84 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009712/0.4729, allocations: 0.7074 MB / 309.9 MB, free: 44.6 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009571/0.4739, allocations: 0.7948 MB / 310.7 MB, free: 44.29 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.4749, allocations: 0.8152 MB / 311.5 MB, free: 43.96 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.4749, allocations: 0 / 311.5 MB, free: 43.96 MB / 218.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00342/0.4784, allocations: 2.298 MB / 313.8 MB, free: 43.13 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.4784, allocations: 3.656 kB / 313.8 MB, free: 43.13 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.4784, allocations: 13.12 kB / 313.8 MB, free: 43.13 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001535/0.48, allocations: 0.6558 MB / 314.5 MB, free: 42.95 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007851/0.4808, allocations: 215.3 kB / 314.7 MB, free: 42.94 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007539/0.4883, allocations: 8.371 MB / 323 MB, free: 37.22 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007195/0.4891, allocations: 77.92 kB / 323.1 MB, free: 37.2 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.304e-05/0.4892, allocations: 29.66 kB / 323.1 MB, free: 37.2 MB / 218.7 MB Warning: Assuming fixed start value for the following 7 variables: quadraticLoadTorque.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real 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.i_0_s:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer ) "stator zero-sequence current" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 94 * 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 {(4,87.5%) 23,(2,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001137/0.4903, allocations: 0.6368 MB / 323.8 MB, free: 36.87 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002834/0.4906, allocations: 106.5 kB / 323.9 MB, free: 36.82 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0036/0.4942, allocations: 2.328 MB / 326.2 MB, free: 35.95 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.4942, allocations: 10.72 kB / 326.2 MB, free: 35.95 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.4942, allocations: 11.2 kB / 326.2 MB, free: 35.95 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.4942, allocations: 8.453 kB / 326.2 MB, free: 35.95 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006616/0.5009, allocations: 4.373 MB / 330.6 MB, free: 33.76 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.5009, allocations: 0 / 330.6 MB, free: 33.76 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007204/0.5016, allocations: 174 kB / 330.8 MB, free: 33.62 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001603/0.5032, allocations: 0.697 MB / 331.5 MB, free: 33.08 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.528e-05/0.5033, allocations: 27.61 kB / 331.5 MB, free: 33.05 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006953/0.5103, allocations: 8.218 MB / 339.7 MB, free: 25.21 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5103, allocations: 4 kB / 339.7 MB, free: 25.21 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004957/0.5153, allocations: 3.385 MB / 343.1 MB, free: 22.22 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009325/0.5162, allocations: 355.7 kB / 343.5 MB, free: 21.86 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002934/0.5165, allocations: 28.92 kB / 343.5 MB, free: 21.83 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007856/0.5173, allocations: 76.59 kB / 343.6 MB, free: 21.75 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/0.5176, allocations: 92.86 kB / 343.7 MB, free: 21.66 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.687e-05/0.5177, allocations: 39.73 kB / 343.7 MB, free: 21.63 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0009154/0.5186, allocations: 0.659 MB / 344.4 MB, free: 20.98 MB / 218.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5186, allocations: 0 / 344.4 MB, free: 20.98 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001426/0.5201, allocations: 389.8 kB / 344.7 MB, free: 20.6 MB / 218.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 81 * 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 {(4,87.5%) 23,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003119/0.5204, allocations: 139 kB / 344.9 MB, free: 20.45 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.00339/0.5238, allocations: 2.376 MB / 347.2 MB, free: 18.02 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5238, allocations: 2.953 kB / 347.2 MB, free: 18.02 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002039/0.5258, allocations: 1.581 MB / 348.8 MB, free: 16.38 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.5271, allocations: 270.7 kB / 349.1 MB, free: 16.13 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00564/0.5328, allocations: 4.439 MB / 353.5 MB, free: 11.72 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001106/0.5339, allocations: 1.668 MB / 355.2 MB, free: 10.03 MB / 218.7 MB Notification: Performance of simCode: alias equations: time 0.0007591/0.5347, allocations: 283.6 kB / 355.5 MB, free: 9.754 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002433/0.5349, allocations: 79.42 kB / 355.6 MB, free: 9.676 MB / 218.7 MB Notification: Performance of SimCode: time 4.7e-07/0.5349, allocations: 0 / 355.6 MB, free: 9.676 MB / 218.7 MB Notification: Performance of Templates: time 0.02851/0.5634, allocations: 18.86 MB / 374.4 MB, free: 7.035 MB / 234.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_DOL.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_DOL.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_DOL.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_DOL.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_DOL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.AIMC_DOL.pipe 2>&1)