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.9424/0.9424, allocations: 110.8 MB / 118.3 MB, free: 14.47 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.0018/0.0018, allocations: 163.3 kB / 144 MB, free: 4.797 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.386e-05/1.389e-05, allocations: 4 kB / 173.8 MB, free: 22.8 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04784/0.04787, allocations: 25.18 MB / 199 MB, free: 13.7 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05748/0.1054, allocations: 44.88 MB / 243.9 MB, free: 0.7383 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001652/0.1056, allocations: 67.97 kB / 244 MB, free: 0.6719 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1775/0.2831, allocations: 28.15 MB / 272.1 MB, free: 26.05 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.2832, allocations: 0 / 272.1 MB, free: 26.05 MB / 186.7 MB Notification: Performance of Transformations before backend: time 0.0001753/0.2834, allocations: 43.94 kB / 272.2 MB, free: 26.01 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.004477/0.2879, allocations: 1.73 MB / 273.9 MB, free: 24.23 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.2879, allocations: 8.031 kB / 273.9 MB, free: 24.22 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007655/0.2887, allocations: 193.7 kB / 274.1 MB, free: 24.03 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/0.2909, allocations: 1.102 MB / 275.2 MB, free: 22.88 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.291, allocations: 52 kB / 275.3 MB, free: 22.83 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003938/0.2914, allocations: 107.8 kB / 275.4 MB, free: 22.73 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002902/0.2944, allocations: 1.673 MB / 277 MB, free: 21.05 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003159/0.2975, allocations: 1.87 MB / 278.9 MB, free: 19.1 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.499e-05/0.2976, allocations: 0 / 278.9 MB, free: 19.1 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.2977, allocations: 7.984 kB / 278.9 MB, free: 19.09 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.439e-05/0.2978, allocations: 63.05 kB / 279 MB, free: 19.03 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007529/0.3053, allocations: 5.704 MB / 284.7 MB, free: 13.22 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001625/0.307, allocations: 1.93 MB / 286.6 MB, free: 11.12 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007699/0.3078, allocations: 0.7403 MB / 287.3 MB, free: 10.38 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.723e-05/0.3079, allocations: 12.78 kB / 287.4 MB, free: 10.36 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.3079, allocations: 47.34 kB / 287.4 MB, free: 10.3 MB / 186.7 MB Notification: Performance of pre-optimization done (n=94): time 3.687e-06/0.3079, allocations: 0 / 287.4 MB, free: 10.3 MB / 186.7 MB Notification: Performance of matching and sorting (n=114): time 0.006941/0.3148, allocations: 4.596 MB / 292 MB, free: 5.641 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.3149, allocations: 64.7 kB / 292.1 MB, free: 5.562 MB / 186.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.0009636/0.3159, allocations: 0.7981 MB / 292.9 MB, free: 4.758 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 7.134e-05/0.3159, allocations: 29.7 kB / 292.9 MB, free: 4.723 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.3162, allocations: 0.64 MB / 293.5 MB, free: 4.07 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.3164, allocations: 378.4 kB / 293.9 MB, free: 3.695 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/0.3165, allocations: 0 / 293.9 MB, free: 3.695 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 6.678e-05/0.3166, allocations: 345.9 kB / 294.2 MB, free: 3.352 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006425/0.3172, allocations: 0.6468 MB / 294.9 MB, free: 2.707 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006859/0.3179, allocations: 0.7341 MB / 295.6 MB, free: 1.953 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007574/0.3187, allocations: 0.753 MB / 296.4 MB, free: 1.203 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.3187, allocations: 0 / 296.4 MB, free: 1.203 MB / 186.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003125/0.3218, allocations: 2.143 MB / 298.5 MB, free: 15.04 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.3219, allocations: 11.22 kB / 298.5 MB, free: 15.03 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.3219, allocations: 4 kB / 298.5 MB, free: 15.02 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/0.3235, allocations: 0.6569 MB / 299.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008443/0.3243, allocations: 203.7 kB / 299.4 MB, free: 14.16 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008659/0.333, allocations: 7.833 MB / 307.2 MB, free: 5.98 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009523/0.334, allocations: 55.95 kB / 307.3 MB, free: 5.926 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/0.3341, allocations: 39.92 kB / 307.3 MB, free: 5.887 MB / 202.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.0003442/0.3345, allocations: 137.5 kB / 307.4 MB, free: 5.75 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.3346, allocations: 106.8 kB / 307.6 MB, free: 5.645 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003613/0.3383, allocations: 2.155 MB / 309.7 MB, free: 3.465 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.3383, allocations: 12 kB / 309.7 MB, free: 3.453 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.3383, allocations: 7.953 kB / 309.7 MB, free: 3.445 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.3383, allocations: 3.984 kB / 309.7 MB, free: 3.441 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007044/0.3454, allocations: 3.996 MB / 313.7 MB, free: 15.38 MB / 218.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.3454, allocations: 0 / 313.7 MB, free: 15.38 MB / 218.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007512/0.3462, allocations: 179.7 kB / 313.9 MB, free: 15.2 MB / 218.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/0.3479, allocations: 0.6829 MB / 314.6 MB, free: 14.51 MB / 218.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.731e-05/0.348, allocations: 15.92 kB / 314.6 MB, free: 14.49 MB / 218.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008942/0.357, allocations: 7.696 MB / 322.3 MB, free: 6.445 MB / 218.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/0.3571, allocations: 0 / 322.3 MB, free: 6.445 MB / 218.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005176/0.3622, allocations: 3.181 MB / 325.5 MB, free: 3.215 MB / 218.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008814/0.3632, allocations: 351.7 kB / 325.8 MB, free: 2.852 MB / 218.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.3633, allocations: 11.95 kB / 325.8 MB, free: 2.84 MB / 218.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006485/0.364, allocations: 59.91 kB / 325.9 MB, free: 2.781 MB / 218.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002896/0.3643, allocations: 97.16 kB / 326 MB, free: 2.688 MB / 218.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.558e-05/0.3644, allocations: 31.98 kB / 326 MB, free: 2.656 MB / 218.7 MB Notification: Performance of sorting global known variables: time 0.0008691/0.3652, allocations: 0.5889 MB / 326.6 MB, free: 2.07 MB / 218.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3652, allocations: 0 / 326.6 MB, free: 2.07 MB / 218.7 MB Notification: Performance of remove unused functions: time 0.001302/0.3665, allocations: 343.9 kB / 326.9 MB, free: 1.734 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 () * 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.0002477/0.3668, allocations: 108 kB / 327 MB, free: 1.617 MB / 218.7 MB Notification: Performance of simCode: created initialization part: time 0.1057/0.4726, allocations: 2.217 MB / 329.3 MB, free: 53.72 MB / 218.7 MB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/0.4726, allocations: 7.875 kB / 329.3 MB, free: 53.72 MB / 218.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003215/0.4758, allocations: 1.474 MB / 330.7 MB, free: 53.29 MB / 218.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.4776, allocations: 227.2 kB / 331 MB, free: 53.29 MB / 218.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005737/0.4833, allocations: 3.072 MB / 334 MB, free: 52.69 MB / 218.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001823/0.4852, allocations: 1.67 MB / 335.7 MB, free: 51.95 MB / 218.7 MB Notification: Performance of simCode: alias equations: time 0.001243/0.4864, allocations: 280.3 kB / 336 MB, free: 51.93 MB / 218.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.4867, allocations: 67.52 kB / 336 MB, free: 51.92 MB / 218.7 MB Notification: Performance of SimCode: time 1.944e-06/0.4867, allocations: 0 / 336 MB, free: 51.92 MB / 218.7 MB Notification: Performance of Templates: time 0.02456/0.5113, allocations: 16.84 MB / 352.9 MB, free: 50.46 MB / 218.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)