Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=60000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00154/0.00154, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.242/1.242, allocations: 194.3 MB / 203.1 MB, free: 9.25 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001584/0.001584, allocations: 114.5 kB / 248.1 MB, free: 6.359 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.584e-05/1.588e-05, allocations: 4 kB / 298.1 MB, free: 8.203 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07574/0.07577, allocations: 44.49 MB / 342.6 MB, free: 11.61 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3376/0.4134, allocations: 160.5 MB / 0.4913 GB, free: 0.5781 MB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.4137, allocations: 109.2 kB / 0.4914 GB, free: 0.5156 MB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.389/1.803, allocations: 390.3 MB / 0.8725 GB, free: 35.15 MB / 427.1 MB Notification: Performance of FrontEnd: time 2.375e-06/1.803, allocations: 0 / 0.8725 GB, free: 35.15 MB / 427.1 MB Notification: Performance of Transformations before backend: time 0.001209/1.804, allocations: 265.7 kB / 0.8728 GB, free: 35.12 MB / 427.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3109 * Number of variables: 3109 Notification: Performance of Generate backend data structure: time 0.03744/1.842, allocations: 10.25 MB / 0.8828 GB, free: 31.8 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/1.842, allocations: 10.09 kB / 0.8828 GB, free: 31.8 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02466/1.867, allocations: 4.374 MB / 0.8871 GB, free: 31.18 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02369/1.89, allocations: 8.85 MB / 0.8957 GB, free: 30.03 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008242/1.891, allocations: 376.3 kB / 0.8961 GB, free: 30.03 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004339/1.895, allocations: 0.6398 MB / 0.8967 GB, free: 30.02 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02594/1.921, allocations: 13.25 MB / 0.9096 GB, free: 29.97 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03738/1.959, allocations: 15.52 MB / 0.9248 GB, free: 27.26 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000314/1.959, allocations: 7.531 kB / 0.9248 GB, free: 27.26 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001758/1.961, allocations: 11.22 kB / 0.9248 GB, free: 27.25 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005719/1.962, allocations: 0.6938 MB / 0.9255 GB, free: 27.11 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09877/2.06, allocations: 56.6 MB / 0.9808 GB, free: 5.57 MB / 443.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2751/2.335, allocations: 17.69 MB / 0.9981 GB, free: 40.51 MB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009101/2.345, allocations: 6.283 MB / 1.004 GB, free: 40.44 MB / 443.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02943/2.374, allocations: 19.16 MB / 1.023 GB, free: 39.27 MB / 443.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.958e-05/2.374, allocations: 99.14 kB / 1.023 GB, free: 39.22 MB / 443.1 MB Notification: Performance of pre-optimization done (n=624): time 8.486e-06/2.374, allocations: 3.5 kB / 1.023 GB, free: 39.22 MB / 443.1 MB Notification: Performance of matching and sorting (n=657): time 0.0466/2.421, allocations: 25.27 MB / 1.048 GB, free: 35.84 MB / 443.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/2.421, allocations: 137 kB / 1.048 GB, free: 35.75 MB / 443.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005037/2.426, allocations: 3.351 MB / 1.051 GB, free: 35.43 MB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00101/2.427, allocations: 27.61 kB / 1.051 GB, free: 35.4 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002382/2.429, allocations: 4.614 MB / 1.056 GB, free: 33.13 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002289/2.432, allocations: 2.119 MB / 1.058 GB, free: 31.72 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004876/2.432, allocations: 1.781 kB / 1.058 GB, free: 31.72 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.0003426/2.432, allocations: 0.6174 MB / 1.058 GB, free: 31.4 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005073/2.437, allocations: 4.357 MB / 1.063 GB, free: 31.39 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006912/2.444, allocations: 6.339 MB / 1.069 GB, free: 28.17 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/2.456, allocations: 6.455 MB / 1.075 GB, free: 25.75 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-05/2.456, allocations: 15.62 kB / 1.075 GB, free: 25.75 MB / 443.1 MB Notification: Performance of matching and sorting (n=995) (initialization): time 0.02313/2.479, allocations: 13.6 MB / 1.088 GB, free: 20.7 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.304e-05/2.479, allocations: 31.06 kB / 1.088 GB, free: 20.7 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-05/2.479, allocations: 63.53 kB / 1.088 GB, free: 20.7 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004036/2.483, allocations: 2.374 MB / 1.091 GB, free: 19.97 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006118/2.489, allocations: 1.553 MB / 1.092 GB, free: 19.93 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008668/2.498, allocations: 10.39 MB / 1.102 GB, free: 12.66 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007089/2.505, allocations: 437.3 kB / 1.103 GB, free: 12.64 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001996/2.507, allocations: 350.1 kB / 1.103 GB, free: 12.58 MB / 443.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: smeeQS.stator.resistor.resistor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smeeQS.stator.resistor.resistor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smeeQS.stator.resistor.resistor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smeeQS.stator.resistor.resistor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] smeeQS.stator.resistor.resistor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] smeeQS.stator.resistor.resistor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: powerSensorQS.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensorQS.powerSensor[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensorQS.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensorQS.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensorQS.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensorQS.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: starQS.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] starQS.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] terminalBoxQS.multiStar.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (790): * Single equations (assignments): 721 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 6 * 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: 2 {(2,100.0%) 8,(1,100.0%) 5} * Non-linear torn systems: 4 {6 9,6 9,6 9,6 43} Notification: Performance of prepare postOptimizeDAE: time 0.003087/2.51, allocations: 363.2 kB / 1.103 GB, free: 12.41 MB / 443.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00225/2.513, allocations: 0.5156 MB / 1.104 GB, free: 12.13 MB / 443.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02013/2.533, allocations: 12.18 MB / 1.116 GB, free: 7.195 MB / 443.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01502/2.548, allocations: 11 MB / 1.127 GB, free: 16 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.329e-05/2.548, allocations: 4 kB / 1.127 GB, free: 16 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.892e-05/2.548, allocations: 27.14 kB / 1.127 GB, free: 16 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3121/2.86, allocations: 30.33 MB / 1.156 GB, free: 60.41 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.834e-05/2.86, allocations: 7.625 kB / 1.156 GB, free: 60.41 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004009/2.864, allocations: 0.9187 MB / 1.157 GB, free: 60.41 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004858/2.869, allocations: 2.63 MB / 1.16 GB, free: 60.34 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008676/2.87, allocations: 77.86 kB / 1.16 GB, free: 60.34 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01396/2.884, allocations: 15.8 MB / 1.175 GB, free: 53.22 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002934/2.887, allocations: 2.732 MB / 1.178 GB, free: 51.82 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02826/2.915, allocations: 18.91 MB / 1.196 GB, free: 49.98 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003553/2.919, allocations: 1.562 MB / 1.198 GB, free: 49.88 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008665/2.92, allocations: 13.2 kB / 1.198 GB, free: 49.88 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003267/2.923, allocations: 287.4 kB / 1.198 GB, free: 49.88 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009125/2.924, allocations: 0.5006 MB / 1.199 GB, free: 49.88 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006109/2.924, allocations: 180.6 kB / 1.199 GB, free: 49.88 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.003573/2.928, allocations: 2.423 MB / 1.201 GB, free: 49.7 MB / 459.1 MB Notification: Performance of sort global known variables: time 4.01e-07/2.928, allocations: 0 / 1.201 GB, free: 49.7 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.00695/2.935, allocations: 1.852 MB / 1.203 GB, free: 49.7 MB / 459.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (smeeQS.gamma,smeeQS.excitation.electroMagneticConverter.port_p.reference.gamma,$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],smee.stator.zeroInductor.i0) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (459): * Single equations (assignments): 391 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 60 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(1,100.0%) 4,(1,100.0%) 8} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 43,5 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001139/2.936, allocations: 0.5075 MB / 1.204 GB, free: 49.59 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.01356/2.95, allocations: 10.78 MB / 1.214 GB, free: 49.04 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/2.95, allocations: 3.406 kB / 1.214 GB, free: 49.04 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009208/2.959, allocations: 5.848 MB / 1.22 GB, free: 48.49 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005736/2.965, allocations: 0.8411 MB / 1.221 GB, free: 48.46 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03075/2.996, allocations: 18.83 MB / 1.239 GB, free: 43.2 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007605/3.003, allocations: 6.999 MB / 1.246 GB, free: 40.9 MB / 459.1 MB Notification: Performance of simCode: alias equations: time 0.006016/3.009, allocations: 1.688 MB / 1.247 GB, free: 40.72 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/3.011, allocations: 391.6 kB / 1.248 GB, free: 40.69 MB / 459.1 MB Notification: Performance of SimCode: time 9.02e-07/3.011, allocations: 1.5 kB / 1.248 GB, free: 40.69 MB / 459.1 MB Notification: Performance of Templates: time 0.3978/3.408, allocations: 94.41 MB / 1.34 GB, free: 52.06 MB / 459.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1)