Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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.1_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.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 99 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004851/0.0004854, allocations: 16 kB / 278.9 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2518, allocations: 47.58 MB / 326.5 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.02818/0.28, allocations: 27.27 MB / 353.7 MB, free: 8.148 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02084/0.3009, allocations: 9.191 MB / 362.9 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007389/0.3083, allocations: 199.2 kB / 363.1 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007649/0.316, allocations: 1.932 MB / 365.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01243/0.3284, allocations: 3.272 MB / 368.3 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007034/0.3355, allocations: 1.566 MB / 369.9 MB, free: 7.953 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02294/0.3584, allocations: 11.67 MB / 381.6 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04087/0.3994, allocations: 17.51 MB / 399.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009875/0.4093, allocations: 4.56 MB / 403.6 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009893/0.4192, allocations: 5.074 MB / 408.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003658/0.4229, allocations: 0.7344 MB / 409.4 MB, free: 240 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006068/0.429, allocations: 1.043 MB / 410.5 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004838/0.4338, allocations: 2.348 MB / 412.8 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005831/0.4397, allocations: 2.441 MB / 415.3 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02658/0.4663, allocations: 21.21 MB / 436.5 MB, free: 5.117 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4663, allocations: 0 / 436.5 MB, free: 5.117 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4664, allocations: 0 / 436.5 MB, free: 5.117 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0008933/0.4673, allocations: 0 / 436.5 MB, free: 5.117 MB / 366.1 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.04278/0.5101, allocations: 12.62 MB / 449.1 MB, free: 8.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.5101, allocations: 16.02 kB / 449.1 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04302/0.5531, allocations: 7.664 MB / 456.8 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3712/0.9244, allocations: 7.25 MB / 464 MB, free: 87.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009403/0.9254, allocations: 0.8251 MB / 464.9 MB, free: 86.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003906/0.9293, allocations: 1.084 MB / 465.9 MB, free: 86.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03816/0.9675, allocations: 17.69 MB / 483.6 MB, free: 77.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005275/0.968, allocations: 23.61 kB / 483.7 MB, free: 77.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003284/0.9713, allocations: 454 kB / 484.1 MB, free: 77.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006843/0.972, allocations: 0.6739 MB / 484.8 MB, free: 77.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03425/1.006, allocations: 16.98 MB / 0.49 GB, free: 60.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09557/1.102, allocations: 56.88 MB / 0.5455 GB, free: 3.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03435/1.136, allocations: 42.37 MB / 0.5869 GB, free: 4.492 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03003/1.166, allocations: 13.32 MB / 0.5999 GB, free: 7.188 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005458/1.172, allocations: 3.131 MB / 0.603 GB, free: 3.996 MB / 446.1 MB Notification: Performance of pre-optimization done (n=444): time 8.756e-06/1.172, allocations: 0 / 0.603 GB, free: 3.996 MB / 446.1 MB Notification: Performance of matching and sorting (n=462): time 0.2672/1.439, allocations: 23.22 MB / 0.6257 GB, free: 154.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/1.439, allocations: 414.2 kB / 0.6261 GB, free: 154.1 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007343/1.447, allocations: 4.625 MB / 0.6306 GB, free: 152.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009486/1.448, allocations: 101.4 kB / 0.6307 GB, free: 152.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003741/1.451, allocations: 4.879 MB / 0.6354 GB, free: 149.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001754/1.453, allocations: 1.58 MB / 0.637 GB, free: 148.4 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003792/1.454, allocations: 131.6 kB / 0.6371 GB, free: 148.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002938/1.454, allocations: 0.5578 MB / 0.6376 GB, free: 147.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004057/1.458, allocations: 2.908 MB / 0.6405 GB, free: 146.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004941/1.463, allocations: 5.295 MB / 0.6457 GB, free: 142.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005273/1.468, allocations: 4.021 MB / 0.6496 GB, free: 140.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-05/1.468, allocations: 19 kB / 0.6496 GB, free: 140.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.01615/1.484, allocations: 9.934 MB / 0.6593 GB, free: 136.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.336e-05/1.485, allocations: 38.97 kB / 0.6593 GB, free: 136.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001698/1.485, allocations: 77.56 kB / 0.6594 GB, free: 136.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004072/1.489, allocations: 1.493 MB / 0.6609 GB, free: 136.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006199/1.495, allocations: 1.423 MB / 0.6623 GB, free: 136.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01806/1.513, allocations: 16.66 MB / 0.6785 GB, free: 123 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006212/1.519, allocations: 375.5 kB / 0.6789 GB, free: 122.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/1.521, allocations: 308 kB / 0.6792 GB, free: 122.4 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 334 * 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 (735): * Single equations (assignments): 729 * 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: 5 * 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: 5 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 4,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009121/1.53, allocations: 3.966 MB / 0.6831 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001888/1.532, allocations: 0.5133 MB / 0.6836 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01433/1.546, allocations: 8.07 MB / 0.6914 GB, free: 109.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.659e-05/1.546, allocations: 44 kB / 0.6915 GB, free: 109.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.207e-05/1.546, allocations: 20 kB / 0.6915 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-05/1.546, allocations: 27.91 kB / 0.6915 GB, free: 109.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02834/1.575, allocations: 17.69 MB / 0.7088 GB, free: 91.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/1.575, allocations: 4 kB / 0.7088 GB, free: 91.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003104/1.578, allocations: 0.7762 MB / 0.7096 GB, free: 91.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00374/1.582, allocations: 1.558 MB / 0.7111 GB, free: 89.49 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005291/1.582, allocations: 112 kB / 0.7112 GB, free: 89.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01813/1.6, allocations: 19.94 MB / 0.7307 GB, free: 68.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.6, allocations: 7.953 kB / 0.7307 GB, free: 68.53 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01676/1.617, allocations: 12.16 MB / 0.7425 GB, free: 56.08 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003433/1.621, allocations: 1.17 MB / 0.7437 GB, free: 54.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001344/1.622, allocations: 99.98 kB / 0.7438 GB, free: 54.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002758/1.625, allocations: 247.8 kB / 0.744 GB, free: 54.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006903/1.625, allocations: 351.7 kB / 0.7444 GB, free: 54.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002541/1.626, allocations: 136 kB / 0.7445 GB, free: 54.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004537/1.63, allocations: 3.122 MB / 0.7475 GB, free: 50.95 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.31e-07/1.63, allocations: 4 kB / 0.7475 GB, free: 50.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007466/1.638, allocations: 1.92 MB / 0.7494 GB, free: 49.03 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,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 (406): * Single equations (assignments): 397 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(14,40.3%) 44,(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001563/1.639, allocations: 0.5728 MB / 0.75 GB, free: 48.47 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01285/1.652, allocations: 8.297 MB / 0.7581 GB, free: 40.11 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/1.652, allocations: 4 kB / 0.7581 GB, free: 40.11 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007078/1.659, allocations: 4.724 MB / 0.7627 GB, free: 35.31 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005904/1.665, allocations: 1.213 MB / 0.7639 GB, free: 34.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2408/1.906, allocations: 23.73 MB / 0.787 GB, free: 145.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01251/1.919, allocations: 7.107 MB / 0.794 GB, free: 144.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00628/1.925, allocations: 1.933 MB / 0.7959 GB, free: 144.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/1.926, allocations: 408.3 kB / 0.7963 GB, free: 144.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.453e-06/1.926, allocations: 0 / 0.7963 GB, free: 144.5 MB / 462.1 MB Notification: Performance of Templates: time 0.1284/2.055, allocations: 80.24 MB / 0.8746 GB, free: 80.95 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) Environment - environmentSimulation: