Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.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.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001024/0.001024, allocations: 182.1 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.481/1.481, allocations: 194.3 MB / 208.4 MB, free: 6.719 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001757/0.001757, allocations: 124.6 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.127e-05/3.139e-05, allocations: 4 kB / 305 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1163, allocations: 44.49 MB / 349.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4569/0.5733, allocations: 145 MB / 494.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.5737, allocations: 97.81 kB / 494.6 MB, free: 15.22 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$dutyCycle.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 1.177/1.75, allocations: 357.9 MB / 0.8325 GB, free: 2.609 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.375e-06/1.75, allocations: 4 kB / 0.8325 GB, free: 2.605 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0009613/1.751, allocations: 247.8 kB / 0.8328 GB, free: 2.363 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3076 * Number of variables: 3076 Notification: Performance of Generate backend data structure: time 0.6106/2.362, allocations: 10.52 MB / 0.843 GB, free: 19.57 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/2.362, allocations: 9.406 kB / 0.8431 GB, free: 19.57 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03367/2.396, allocations: 5.396 MB / 0.8483 GB, free: 18.97 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02475/2.42, allocations: 9.447 MB / 0.8576 GB, free: 17.98 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007618/2.421, allocations: 0.8115 MB / 0.8583 GB, free: 17.96 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003952/2.425, allocations: 1.067 MB / 0.8594 GB, free: 17.95 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04296/2.468, allocations: 17.93 MB / 0.8769 GB, free: 16.73 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005389/2.469, allocations: 15.98 kB / 0.8769 GB, free: 16.73 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005258/2.474, allocations: 467.7 kB / 0.8774 GB, free: 16.73 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001058/2.475, allocations: 0.7478 MB / 0.8781 GB, free: 16.7 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03756/2.513, allocations: 16.55 MB / 0.8942 GB, free: 16.61 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1346/2.647, allocations: 58.1 MB / 0.951 GB, free: 6.965 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03096/2.678, allocations: 26.1 MB / 0.9765 GB, free: 15.61 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01598/2.694, allocations: 7.062 MB / 0.9834 GB, free: 9.121 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4155/3.11, allocations: 23.34 MB / 1.006 GB, free: 65.62 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01089/3.121, allocations: 5.408 MB / 1.011 GB, free: 65.33 MB / 458.8 MB Notification: Performance of pre-optimization done (n=696): time 2.119e-05/3.121, allocations: 0 / 1.011 GB, free: 65.33 MB / 458.8 MB Notification: Performance of matching and sorting (n=714): time 0.05482/3.176, allocations: 28.96 MB / 1.04 GB, free: 62.58 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001651/3.176, allocations: 431.7 kB / 1.04 GB, free: 62.14 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008881/3.185, allocations: 3.46 MB / 1.043 GB, free: 61.77 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001953/3.187, allocations: 131 kB / 1.044 GB, free: 61.73 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005413/3.192, allocations: 4.302 MB / 1.048 GB, free: 59.62 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004354/3.197, allocations: 2.383 MB / 1.05 GB, free: 58.09 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001981/3.199, allocations: 135.4 kB / 1.05 GB, free: 58.09 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.000925/3.2, allocations: 0.5978 MB / 1.051 GB, free: 57.77 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008815/3.208, allocations: 4.392 MB / 1.055 GB, free: 57.76 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01062/3.219, allocations: 6.105 MB / 1.061 GB, free: 55.98 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01077/3.23, allocations: 5.455 MB / 1.066 GB, free: 55.85 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/3.23, allocations: 12.03 kB / 1.066 GB, free: 55.85 MB / 458.8 MB Notification: Performance of matching and sorting (n=944) (initialization): time 0.03234/3.262, allocations: 13.71 MB / 1.08 GB, free: 51.15 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001662/3.263, allocations: 59.61 kB / 1.08 GB, free: 51.11 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001344/3.263, allocations: 43.16 kB / 1.08 GB, free: 51.11 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008742/3.271, allocations: 3.845 MB / 1.084 GB, free: 49.98 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006129/3.278, allocations: 1.298 MB / 1.085 GB, free: 49.94 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01637/3.294, allocations: 16.61 MB / 1.101 GB, free: 38.1 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006859/3.301, allocations: 378.2 kB / 1.102 GB, free: 37.98 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002125/3.303, allocations: 305.1 kB / 1.102 GB, free: 37.93 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 202 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (685): * Single equations (assignments): 643 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 31 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 9 * 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: 4 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 4,(1,100.0%) 13} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,14 74} Notification: Performance of prepare postOptimizeDAE: time 0.003888/3.307, allocations: 498.4 kB / 1.102 GB, free: 37.59 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002791/3.31, allocations: 0.5364 MB / 1.103 GB, free: 37.31 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03028/3.34, allocations: 13.32 MB / 1.116 GB, free: 31.5 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001783/3.34, allocations: 154.1 kB / 1.116 GB, free: 31.43 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.875e-05/3.34, allocations: 10.47 kB / 1.116 GB, free: 31.43 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001329/3.341, allocations: 37.31 kB / 1.116 GB, free: 31.43 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05543/3.396, allocations: 26.77 MB / 1.142 GB, free: 9 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.27e-05/3.396, allocations: 0 / 1.142 GB, free: 9 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004212/3.4, allocations: 0.8724 MB / 1.143 GB, free: 8.324 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007762/3.408, allocations: 3.933 MB / 1.147 GB, free: 5.133 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001627/3.41, allocations: 163.5 kB / 1.147 GB, free: 4.992 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.351/3.761, allocations: 20.77 MB / 1.167 GB, free: 77.66 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/3.761, allocations: 7.906 kB / 1.167 GB, free: 77.66 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0477/3.808, allocations: 19.73 MB / 1.187 GB, free: 76.66 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006105/3.815, allocations: 1.646 MB / 1.188 GB, free: 76.56 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00318/3.818, allocations: 120.6 kB / 1.188 GB, free: 76.56 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005719/3.824, allocations: 295.2 kB / 1.189 GB, free: 76.56 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002129/3.826, allocations: 0.5173 MB / 1.189 GB, free: 76.55 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00128/3.827, allocations: 197.9 kB / 1.189 GB, free: 76.55 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.005926/3.833, allocations: 2.631 MB / 1.192 GB, free: 76.35 MB / 474.8 MB Notification: Performance of sort global known variables: time 3.91e-07/3.833, allocations: 0 / 1.192 GB, free: 76.35 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01024/3.843, allocations: 2.024 MB / 1.194 GB, free: 76.35 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (476): * Single equations (assignments): 432 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 31 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,14 74} Notification: Performance of Backend phase and start with SimCode phase: time 0.00284/3.846, allocations: 0.9171 MB / 1.195 GB, free: 76.14 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.02074/3.867, allocations: 11.69 MB / 1.206 GB, free: 75.21 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/3.867, allocations: 3.781 kB / 1.206 GB, free: 75.21 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0126/3.88, allocations: 6.607 MB / 1.213 GB, free: 74.32 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008452/3.888, allocations: 1.188 MB / 1.214 GB, free: 74.29 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0458/3.934, allocations: 19.84 MB / 1.233 GB, free: 71.03 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009819/3.944, allocations: 7.188 MB / 1.24 GB, free: 69.99 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.006803/3.951, allocations: 1.649 MB / 1.242 GB, free: 69.81 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001488/3.952, allocations: 399.7 kB / 1.242 GB, free: 69.8 MB / 474.8 MB Notification: Performance of SimCode: time 1.994e-06/3.952, allocations: 3.281 kB / 1.242 GB, free: 69.8 MB / 474.8 MB Notification: Performance of Templates: time 0.4688/4.421, allocations: 117.3 MB / 1.357 GB, free: 74.84 MB / 474.8 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1)