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.001049/0.001049, allocations: 178.9 kB / 16.38 MB, free: 5.766 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.146/1.146, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.00158/0.00158, allocations: 112.4 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002946/0.0002947, allocations: 8 kB / 310.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07879/0.0791, allocations: 44.5 MB / 355.1 MB, free: 2.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2913/0.3705, allocations: 145.1 MB / 0.4885 GB, free: 9.398 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.3708, allocations: 110 kB / 0.4886 GB, free: 9.336 MB / 378.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.148/1.519, allocations: 358 MB / 0.8382 GB, free: 29.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.427e-06/1.519, allocations: 0 / 0.8382 GB, free: 29.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008081/1.52, allocations: 260.3 kB / 0.8385 GB, free: 29.9 MB / 426.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.03551/1.555, allocations: 11.19 MB / 0.8494 GB, free: 26.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/1.555, allocations: 8.188 kB / 0.8494 GB, free: 26.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03112/1.586, allocations: 5.431 MB / 0.8547 GB, free: 25.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02362/1.61, allocations: 9.486 MB / 0.864 GB, free: 24.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001126/1.611, allocations: 0.8104 MB / 0.8648 GB, free: 24.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004847/1.616, allocations: 1.063 MB / 0.8658 GB, free: 24.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04299/1.659, allocations: 18.13 MB / 0.8835 GB, free: 23.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002601/1.659, allocations: 17.45 kB / 0.8835 GB, free: 23.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001281/1.661, allocations: 462.8 kB / 0.884 GB, free: 23.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000701/1.661, allocations: 0.7424 MB / 0.8847 GB, free: 23.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03373/1.695, allocations: 16.84 MB / 0.9012 GB, free: 23 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1079/1.803, allocations: 58.23 MB / 0.958 GB, free: 12.45 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02814/1.831, allocations: 26.17 MB / 0.9836 GB, free: 2.461 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2965/2.128, allocations: 22.69 MB / 1.006 GB, free: 59.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008284/2.136, allocations: 5.528 MB / 1.011 GB, free: 59.69 MB / 458.7 MB Notification: Performance of pre-optimization done (n=706): time 1.283e-05/2.136, allocations: 0 / 1.011 GB, free: 59.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=724): time 0.08829/2.224, allocations: 43.77 MB / 1.054 GB, free: 53.06 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/2.225, allocations: 434.4 kB / 1.054 GB, free: 52.61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005711/2.23, allocations: 3.492 MB / 1.058 GB, free: 52.3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001687/2.232, allocations: 131.1 kB / 1.058 GB, free: 52.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004315/2.236, allocations: 4.293 MB / 1.062 GB, free: 50.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003034/2.239, allocations: 2.412 MB / 1.064 GB, free: 48.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006884/2.24, allocations: 136.1 kB / 1.065 GB, free: 48.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005567/2.241, allocations: 0.6058 MB / 1.065 GB, free: 48.16 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007286/2.248, allocations: 4.503 MB / 1.07 GB, free: 46.26 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00896/2.257, allocations: 6.212 MB / 1.076 GB, free: 42.45 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009219/2.266, allocations: 5.555 MB / 1.081 GB, free: 39.89 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001229/2.266, allocations: 10.97 kB / 1.081 GB, free: 39.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=952) (initialization): time 0.02485/2.291, allocations: 13.7 MB / 1.094 GB, free: 34.06 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.7e-05/2.291, allocations: 56.42 kB / 1.094 GB, free: 34.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.237e-05/2.291, allocations: 46.75 kB / 1.094 GB, free: 34.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006668/2.298, allocations: 3.858 MB / 1.098 GB, free: 32.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005746/2.304, allocations: 1.313 MB / 1.1 GB, free: 32.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/2.318, allocations: 16.75 MB / 1.116 GB, free: 20.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006127/2.324, allocations: 376.1 kB / 1.116 GB, free: 20.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001839/2.326, allocations: 304.3 kB / 1.117 GB, free: 20.09 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 200 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (693): * Single equations (assignments): 651 * 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.0083/2.334, allocations: 3.946 MB / 1.12 GB, free: 16.75 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001565/2.336, allocations: 0.5448 MB / 1.121 GB, free: 16.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01934/2.355, allocations: 13.63 MB / 1.134 GB, free: 4.504 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001561/2.355, allocations: 160.2 kB / 1.134 GB, free: 4.363 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.043e-05/2.355, allocations: 7.094 kB / 1.134 GB, free: 4.359 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.051e-05/2.355, allocations: 37.14 kB / 1.134 GB, free: 4.355 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3129/2.668, allocations: 27.91 MB / 1.162 GB, free: 68.37 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.667e-05/2.668, allocations: 3.812 kB / 1.162 GB, free: 68.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004493/2.673, allocations: 0.895 MB / 1.163 GB, free: 68.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007965/2.681, allocations: 3.995 MB / 1.166 GB, free: 68.26 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001581/2.682, allocations: 166.2 kB / 1.167 GB, free: 68.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02004/2.703, allocations: 21.02 MB / 1.187 GB, free: 57.89 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/2.703, allocations: 5.031 kB / 1.187 GB, free: 57.89 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03846/2.741, allocations: 20.03 MB / 1.207 GB, free: 56.85 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00611/2.747, allocations: 1.662 MB / 1.208 GB, free: 56.75 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002482/2.75, allocations: 121.6 kB / 1.208 GB, free: 56.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004761/2.755, allocations: 299.9 kB / 1.209 GB, free: 56.75 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001665/2.756, allocations: 0.5169 MB / 1.209 GB, free: 56.74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008447/2.757, allocations: 197.6 kB / 1.209 GB, free: 56.74 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005231/2.762, allocations: 2.671 MB / 1.212 GB, free: 56.56 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.91e-07/2.762, allocations: 0 / 1.212 GB, free: 56.56 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009623/2.772, allocations: 2.039 MB / 1.214 GB, free: 56.56 MB / 474.7 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (486): * Single equations (assignments): 442 * 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%) 8,(1,100.0%) 3,(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.002957/2.775, allocations: 0.8475 MB / 1.215 GB, free: 56.35 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02057/2.796, allocations: 11.94 MB / 1.227 GB, free: 55.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/2.796, allocations: 0 / 1.227 GB, free: 55.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01307/2.809, allocations: 6.756 MB / 1.233 GB, free: 54.51 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007024/2.816, allocations: 1.202 MB / 1.234 GB, free: 54.47 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05465/2.87, allocations: 27.32 MB / 1.261 GB, free: 41.22 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009338/2.88, allocations: 7.186 MB / 1.268 GB, free: 38.73 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006384/2.886, allocations: 1.661 MB / 1.27 GB, free: 38.55 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001336/2.888, allocations: 398.9 kB / 1.27 GB, free: 38.52 MB / 474.7 MB Notification: Performance of SimCode: time 1.082e-06/2.888, allocations: 0 / 1.27 GB, free: 38.52 MB / 474.7 MB Notification: Performance of Templates: time 0.4577/3.345, allocations: 122.4 MB / 1.39 GB, free: 57.04 MB / 474.7 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)