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.9189/0.9189, allocations: 110.8 MB / 123.3 MB, free: 10.79 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001811/0.001811, allocations: 151.5 kB / 149.1 MB, free: 0.9961 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.047e-05/2.049e-05, allocations: 0 / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04878/0.04882, allocations: 25.18 MB / 205.4 MB, free: 8.445 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1922/0.2411, allocations: 45.55 MB / 250.9 MB, free: 19.67 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.2414, allocations: 69.98 kB / 251 MB, free: 19.67 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06403/0.3054, allocations: 28.48 MB / 279.5 MB, free: 9.332 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3055, allocations: 0 / 279.5 MB, free: 9.332 MB / 186.7 MB Notification: Performance of Transformations before backend: time 9.96e-05/0.3056, allocations: 39.94 kB / 279.5 MB, free: 9.293 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.003218/0.3088, allocations: 1.747 MB / 281.3 MB, free: 7.598 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3089, allocations: 8.031 kB / 281.3 MB, free: 7.59 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003451/0.3092, allocations: 193.7 kB / 281.5 MB, free: 7.398 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.3109, allocations: 1.105 MB / 282.6 MB, free: 6.496 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.177e-05/0.311, allocations: 113.1 kB / 282.7 MB, free: 6.434 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002049/0.3112, allocations: 158 kB / 282.8 MB, free: 6.324 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002811/0.314, allocations: 2.087 MB / 284.9 MB, free: 4.875 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.966e-05/0.3141, allocations: 7.984 kB / 284.9 MB, free: 4.867 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.3142, allocations: 66.3 kB / 285 MB, free: 4.852 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-05/0.3143, allocations: 66.98 kB / 285.1 MB, free: 4.785 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002394/0.3167, allocations: 1.753 MB / 286.8 MB, free: 3.551 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009175/0.3259, allocations: 5.975 MB / 292.8 MB, free: 13.45 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002726/0.3287, allocations: 1.988 MB / 294.8 MB, free: 11.29 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.3301, allocations: 0.8419 MB / 295.6 MB, free: 10.45 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.058e-05/0.3302, allocations: 12.78 kB / 295.6 MB, free: 10.44 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.3302, allocations: 39.34 kB / 295.7 MB, free: 10.39 MB / 202.7 MB Notification: Performance of pre-optimization done (n=94): time 3.817e-06/0.3303, allocations: 0 / 295.7 MB, free: 10.39 MB / 202.7 MB Notification: Performance of matching and sorting (n=114): time 0.01449/0.3448, allocations: 5.88 MB / 301.6 MB, free: 4.441 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.3449, allocations: 68.41 kB / 301.6 MB, free: 4.363 MB / 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.001543/0.3464, allocations: 0.8641 MB / 302.5 MB, free: 3.496 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.3465, allocations: 45.7 kB / 302.5 MB, free: 3.445 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004836/0.347, allocations: 0.6595 MB / 303.2 MB, free: 2.773 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003466/0.3474, allocations: 386.3 kB / 303.6 MB, free: 2.391 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.298e-05/0.3475, allocations: 20 kB / 303.6 MB, free: 2.371 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.3476, allocations: 349.9 kB / 303.9 MB, free: 2.023 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009613/0.3486, allocations: 0.6582 MB / 304.6 MB, free: 1.359 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.3496, allocations: 0.7594 MB / 305.3 MB, free: 0.5898 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.3508, allocations: 0.7691 MB / 306.1 MB, free: 15.82 MB / 218.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.3508, allocations: 0 / 306.1 MB, free: 15.82 MB / 218.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003833/0.3546, allocations: 2.225 MB / 308.3 MB, free: 13.57 MB / 218.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.3547, allocations: 4 kB / 308.3 MB, free: 13.56 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3547, allocations: 0 / 308.3 MB, free: 13.56 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001736/0.3564, allocations: 0.6643 MB / 309 MB, free: 12.89 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008615/0.3573, allocations: 219.7 kB / 309.2 MB, free: 12.67 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009526/0.3669, allocations: 8.147 MB / 317.4 MB, free: 4.113 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.3681, allocations: 79.95 kB / 317.4 MB, free: 4.035 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.549e-05/0.3682, allocations: 35.98 kB / 317.5 MB, free: 4 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: 6 * 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.00036/0.3686, allocations: 179.2 kB / 317.7 MB, free: 3.82 MB / 218.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/0.3688, allocations: 106.7 kB / 317.8 MB, free: 3.715 MB / 218.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004059/0.3729, allocations: 2.245 MB / 320 MB, free: 1.449 MB / 218.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.3729, allocations: 12 kB / 320 MB, free: 1.438 MB / 218.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.3729, allocations: 4 kB / 320 MB, free: 1.434 MB / 218.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.3729, allocations: 7.969 kB / 320 MB, free: 1.426 MB / 218.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008046/0.381, allocations: 4.304 MB / 324.3 MB, free: 13.04 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.381, allocations: 0 / 324.3 MB, free: 13.04 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00079/0.3818, allocations: 187.8 kB / 324.5 MB, free: 12.85 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001958/0.3838, allocations: 0.6864 MB / 325.2 MB, free: 12.15 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/0.3839, allocations: 39.97 kB / 325.2 MB, free: 12.11 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009327/0.3933, allocations: 7.988 MB / 333.2 MB, free: 3.723 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.3933, allocations: 3.953 kB / 333.2 MB, free: 3.719 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005437/0.3988, allocations: 3.301 MB / 336.5 MB, free: 356 kB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1453/0.5441, allocations: 351 kB / 336.9 MB, free: 60.82 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005803/0.5448, allocations: 25.77 kB / 336.9 MB, free: 60.82 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008498/0.5456, allocations: 84.11 kB / 337 MB, free: 60.82 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003658/0.546, allocations: 100.3 kB / 337.1 MB, free: 60.82 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.004e-05/0.5461, allocations: 34.41 kB / 337.1 MB, free: 60.82 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.001032/0.5472, allocations: 0.6509 MB / 337.8 MB, free: 60.72 MB / 234.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5472, allocations: 0 / 337.8 MB, free: 60.72 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.001645/0.5488, allocations: 383 kB / 338.1 MB, free: 60.72 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (86): * Single equations (assignments): 82 * 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.0002516/0.5491, allocations: 137.5 kB / 338.3 MB, free: 60.64 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.003498/0.5526, allocations: 2.281 MB / 340.6 MB, free: 60.2 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.5526, allocations: 0 / 340.6 MB, free: 60.2 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002457/0.5551, allocations: 1.544 MB / 342.1 MB, free: 59.74 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/0.5568, allocations: 267.7 kB / 342.4 MB, free: 59.74 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006083/0.5629, allocations: 3.152 MB / 345.5 MB, free: 59.09 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/0.5645, allocations: 1.667 MB / 347.2 MB, free: 58.35 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0009286/0.5654, allocations: 292 kB / 347.5 MB, free: 58.33 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.5657, allocations: 72.06 kB / 347.5 MB, free: 58.32 MB / 234.7 MB Notification: Performance of SimCode: time 1.463e-06/0.5657, allocations: 0 / 347.5 MB, free: 58.32 MB / 234.7 MB Notification: Performance of Templates: time 0.02946/0.5951, allocations: 18.84 MB / 366.4 MB, free: 56.46 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)