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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6785/0.6785, allocations: 110.8 MB / 118 MB, free: 14.59 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001703/0.001703, allocations: 156 kB / 143.7 MB, free: 4.926 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 7.645e-06/7.675e-06, allocations: 0 / 173.5 MB, free: 23.05 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04597/0.046, allocations: 25.16 MB / 198.6 MB, free: 13.96 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1486/0.1946, allocations: 44.81 MB / 243.4 MB, free: 3.543 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000153/0.1948, allocations: 66.67 kB / 243.5 MB, free: 3.535 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.07746/0.2723, allocations: 27.87 MB / 271.4 MB, free: 3.629 MB / 186.7 MB Notification: Performance of Transformations before backend: time 0.0001036/0.2724, allocations: 49.97 kB / 271.4 MB, free: 3.582 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: 390 * Number of variables: 390 Notification: Performance of Generate backend data structure: time 0.003349/0.2758, allocations: 1.73 MB / 273.1 MB, free: 1.906 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2758, allocations: 8.031 kB / 273.2 MB, free: 1.898 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003513/0.2762, allocations: 189.8 kB / 273.3 MB, free: 1.711 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/0.2781, allocations: 1.12 MB / 274.5 MB, free: 0.6875 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.523e-05/0.2782, allocations: 55.91 kB / 274.5 MB, free: 0.6328 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002121/0.2784, allocations: 88 kB / 274.6 MB, free: 0.5469 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002726/0.2811, allocations: 1.716 MB / 276.3 MB, free: 14.83 MB / 202.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002952/0.2841, allocations: 1.906 MB / 278.2 MB, free: 12.84 MB / 202.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.559e-05/0.2842, allocations: 7.844 kB / 278.2 MB, free: 12.84 MB / 202.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.2843, allocations: 4 kB / 278.2 MB, free: 12.83 MB / 202.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.393e-05/0.2844, allocations: 67.03 kB / 278.3 MB, free: 12.76 MB / 202.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009415/0.2938, allocations: 5.742 MB / 284 MB, free: 6.961 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.2952, allocations: 0.785 MB / 284.8 MB, free: 6.164 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.2966, allocations: 0.8463 MB / 285.7 MB, free: 5.316 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-05/0.2966, allocations: 13.81 kB / 285.7 MB, free: 5.305 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.2967, allocations: 43.34 kB / 285.7 MB, free: 5.254 MB / 202.7 MB Notification: Performance of pre-optimization done (n=94): time 2.375e-06/0.2967, allocations: 0 / 285.7 MB, free: 5.254 MB / 202.7 MB Notification: Performance of matching and sorting (n=114): time 0.009411/0.3061, allocations: 4.668 MB / 290.4 MB, free: 0.5195 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.3062, allocations: 64.41 kB / 290.5 MB, free: 456 kB / 202.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.001279/0.3075, allocations: 0.8067 MB / 291.3 MB, free: 15.63 MB / 218.7 MB Notification: Performance of collectPreVariables (initialization): time 9.674e-05/0.3076, allocations: 29.69 kB / 291.3 MB, free: 15.59 MB / 218.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.3079, allocations: 0.5206 MB / 291.8 MB, free: 15.06 MB / 218.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003193/0.3082, allocations: 374.4 kB / 292.2 MB, free: 14.69 MB / 218.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-05/0.3083, allocations: 0 / 292.2 MB, free: 14.69 MB / 218.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.3085, allocations: 349.8 kB / 292.5 MB, free: 14.34 MB / 218.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009325/0.3094, allocations: 0.6777 MB / 293.2 MB, free: 13.66 MB / 218.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.3104, allocations: 0.7606 MB / 294 MB, free: 12.89 MB / 218.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.3116, allocations: 0.7827 MB / 294.7 MB, free: 12.11 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3116, allocations: 0 / 294.7 MB, free: 12.11 MB / 218.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003694/0.3153, allocations: 2.197 MB / 296.9 MB, free: 9.895 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3153, allocations: 4 kB / 296.9 MB, free: 9.891 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.3153, allocations: 4 kB / 296.9 MB, free: 9.887 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001807/0.3171, allocations: 0.6531 MB / 297.6 MB, free: 9.223 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.3182, allocations: 207.6 kB / 297.8 MB, free: 9.02 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009152/0.3273, allocations: 7.561 MB / 305.4 MB, free: 1.109 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.3284, allocations: 39.95 kB / 305.4 MB, free: 1.07 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.3285, allocations: 35.98 kB / 305.4 MB, free: 1.031 MB / 218.7 MB Warning: Assuming fixed start value for the following 7 variables: quadraticLoadTorque.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real 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.i_0_s:VARIABLE(unit = "A" 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 () * 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.0003547/0.3289, allocations: 132 kB / 305.6 MB, free: 0.9023 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.3291, allocations: 102.7 kB / 305.7 MB, free: 0.8008 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003877/0.3329, allocations: 2.206 MB / 307.9 MB, free: 14.58 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.333, allocations: 8 kB / 307.9 MB, free: 14.57 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/0.333, allocations: 8 kB / 307.9 MB, free: 14.57 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.333, allocations: 3.984 kB / 307.9 MB, free: 14.56 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007308/0.3403, allocations: 4.051 MB / 311.9 MB, free: 10.46 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.3404, allocations: 0 / 311.9 MB, free: 10.46 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008892/0.3413, allocations: 171.8 kB / 312.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001966/0.3432, allocations: 0.6829 MB / 312.8 MB, free: 9.598 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.3434, allocations: 19.98 kB / 312.8 MB, free: 9.578 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008658/0.352, allocations: 7.416 MB / 320.2 MB, free: 1.809 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.3521, allocations: 0 / 320.2 MB, free: 1.809 MB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06917/0.4212, allocations: 3.288 MB / 323.5 MB, free: 82.77 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007736/0.4221, allocations: 348.9 kB / 323.9 MB, free: 82.67 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.4223, allocations: 3.5 kB / 323.9 MB, free: 82.67 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006534/0.4229, allocations: 57.73 kB / 323.9 MB, free: 82.67 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.4231, allocations: 73.42 kB / 324 MB, free: 82.67 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.951e-05/0.4232, allocations: 32.05 kB / 324 MB, free: 82.67 MB / 234.7 MB Notification: Performance of sort global known variables: time 0.0006674/0.4239, allocations: 0.5932 MB / 324.6 MB, free: 82.57 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.000968/0.4248, allocations: 332.1 kB / 324.9 MB, free: 82.57 MB / 234.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 () * 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.0001874/0.425, allocations: 117.4 kB / 325.1 MB, free: 82.49 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.002719/0.4278, allocations: 2.188 MB / 327.2 MB, free: 82.09 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4278, allocations: 3.906 kB / 327.2 MB, free: 82.09 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001773/0.4296, allocations: 1.426 MB / 328.7 MB, free: 81.67 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.4307, allocations: 223.3 kB / 328.9 MB, free: 81.67 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004716/0.4354, allocations: 3.153 MB / 332 MB, free: 81.12 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00133/0.4368, allocations: 1.712 MB / 333.8 MB, free: 80.39 MB / 234.7 MB Notification: Performance of SimCode: time 9.31e-07/0.4368, allocations: 2.953 kB / 333.8 MB, free: 80.39 MB / 234.7 MB Notification: Performance of Templates: time 0.02689/0.4637, allocations: 17.85 MB / 351.6 MB, free: 79.56 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)