Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0009634/0.0009634, allocations: 101.4 kB / 15.06 MB, free: 1.094 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.0009263/0.0009264, allocations: 177.3 kB / 15.95 MB, free: 208 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.436/1.436, allocations: 205.4 MB / 222.1 MB, free: 5.68 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.0007936/0.0007937, allocations: 16 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.324, allocations: 47.58 MB / 326.5 MB, free: 1.547 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.05392/0.378, allocations: 27.27 MB / 353.7 MB, free: 8.297 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.03095/0.409, allocations: 9.195 MB / 362.9 MB, free: 15.08 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009023/0.4181, allocations: 199.2 kB / 363.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01155/0.4297, allocations: 1.94 MB / 365.1 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02167/0.4515, allocations: 3.268 MB / 368.3 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009494/0.461, allocations: 1.555 MB / 369.9 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.03173/0.4928, allocations: 11.67 MB / 381.6 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05937/0.5522, allocations: 17.51 MB / 399.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01295/0.5652, allocations: 4.567 MB / 403.6 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01433/0.5795, allocations: 5.066 MB / 408.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004694/0.5843, allocations: 0.7344 MB / 409.4 MB, free: 400 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007534/0.5919, allocations: 1.039 MB / 410.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006422/0.5983, allocations: 2.352 MB / 412.8 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00699/0.6054, allocations: 2.445 MB / 415.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03898/0.6444, allocations: 21.2 MB / 436.5 MB, free: 5.277 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.6445, allocations: 0 / 436.5 MB, free: 5.277 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.04e-06/0.6445, allocations: 0 / 436.5 MB, free: 5.277 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.001036/0.6456, allocations: 0 / 436.5 MB, free: 5.277 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.06644/0.7121, allocations: 12.63 MB / 449.1 MB, free: 8.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.7121, allocations: 8.031 kB / 449.1 MB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09308/0.8052, allocations: 7.668 MB / 456.8 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3444/1.15, allocations: 7.256 MB / 464 MB, free: 86.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009702/1.151, allocations: 0.8221 MB / 464.9 MB, free: 86.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003936/1.155, allocations: 1.082 MB / 465.9 MB, free: 86.26 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04295/1.198, allocations: 17.7 MB / 483.6 MB, free: 77.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004633/1.198, allocations: 20.86 kB / 483.7 MB, free: 77.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003641/1.202, allocations: 452 kB / 484.1 MB, free: 77.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006777/1.202, allocations: 0.673 MB / 484.8 MB, free: 77.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03131/1.234, allocations: 16.98 MB / 0.49 GB, free: 60.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08447/1.318, allocations: 56.89 MB / 0.5455 GB, free: 3.312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03329/1.352, allocations: 42.38 MB / 0.5869 GB, free: 4.617 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02484/1.376, allocations: 13.32 MB / 0.5999 GB, free: 7.312 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004206/1.381, allocations: 3.131 MB / 0.603 GB, free: 4.117 MB / 446.1 MB Notification: Performance of pre-optimization done (n=444): time 5.21e-06/1.381, allocations: 0 / 0.603 GB, free: 4.117 MB / 446.1 MB Notification: Performance of matching and sorting (n=462): time 0.2484/1.629, allocations: 23.21 MB / 0.6257 GB, free: 154.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/1.629, allocations: 419.2 kB / 0.6261 GB, free: 154.1 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007397/1.637, allocations: 4.617 MB / 0.6306 GB, free: 152.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009571/1.638, allocations: 101.5 kB / 0.6307 GB, free: 152.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004307/1.642, allocations: 4.874 MB / 0.6354 GB, free: 149.5 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001851/1.644, allocations: 1.586 MB / 0.637 GB, free: 148.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000394/1.644, allocations: 130.8 kB / 0.6371 GB, free: 148.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002727/1.645, allocations: 0.5541 MB / 0.6376 GB, free: 147.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004111/1.649, allocations: 2.915 MB / 0.6405 GB, free: 146.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005193/1.654, allocations: 5.293 MB / 0.6457 GB, free: 142.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005769/1.66, allocations: 4.024 MB / 0.6496 GB, free: 140.7 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.253e-05/1.66, allocations: 23.31 kB / 0.6496 GB, free: 140.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.01639/1.676, allocations: 9.931 MB / 0.6593 GB, free: 136.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.715e-05/1.676, allocations: 35.22 kB / 0.6593 GB, free: 136.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001131/1.676, allocations: 81.5 kB / 0.6594 GB, free: 136.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003644/1.68, allocations: 1.498 MB / 0.6609 GB, free: 136.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005615/1.686, allocations: 1.412 MB / 0.6623 GB, free: 136 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01711/1.703, allocations: 16.67 MB / 0.6785 GB, free: 123.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005667/1.709, allocations: 375.5 kB / 0.6789 GB, free: 122.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001105/1.71, allocations: 308.9 kB / 0.6792 GB, free: 122.6 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.00716/1.717, allocations: 3.962 MB / 0.6831 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/1.718, allocations: 0.5133 MB / 0.6836 GB, free: 118.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/1.73, allocations: 8.069 MB / 0.6914 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.958e-05/1.73, allocations: 44 kB / 0.6915 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.142e-05/1.73, allocations: 20 kB / 0.6915 GB, free: 109.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-05/1.73, allocations: 27.91 kB / 0.6915 GB, free: 109.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02728/1.757, allocations: 17.7 MB / 0.7088 GB, free: 92.05 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/1.757, allocations: 4 kB / 0.7088 GB, free: 92.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003246/1.761, allocations: 0.7762 MB / 0.7096 GB, free: 91.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003754/1.765, allocations: 1.554 MB / 0.7111 GB, free: 89.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000474/1.765, allocations: 116 kB / 0.7112 GB, free: 89.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01826/1.783, allocations: 19.94 MB / 0.7307 GB, free: 68.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.783, allocations: 7.953 kB / 0.7307 GB, free: 68.72 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01623/1.8, allocations: 12.16 MB / 0.7425 GB, free: 56.28 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003456/1.803, allocations: 1.178 MB / 0.7437 GB, free: 55.08 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00163/1.805, allocations: 96.11 kB / 0.7438 GB, free: 54.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003612/1.808, allocations: 251.7 kB / 0.744 GB, free: 54.74 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007974/1.809, allocations: 339.7 kB / 0.7444 GB, free: 54.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002692/1.809, allocations: 140 kB / 0.7445 GB, free: 54.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004492/1.814, allocations: 3.122 MB / 0.7475 GB, free: 51.15 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.51e-07/1.814, allocations: 4 kB / 0.7475 GB, free: 51.15 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007165/1.821, allocations: 1.924 MB / 0.7494 GB, free: 49.23 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.001601/1.823, allocations: 0.5726 MB / 0.75 GB, free: 48.67 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0125/1.835, allocations: 8.288 MB / 0.7581 GB, free: 40.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/1.835, allocations: 4 kB / 0.7581 GB, free: 40.31 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007428/1.843, allocations: 4.728 MB / 0.7627 GB, free: 35.51 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00658/1.849, allocations: 1.213 MB / 0.7639 GB, free: 34.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2042/2.054, allocations: 23.73 MB / 0.7871 GB, free: 138.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0118/2.065, allocations: 7.099 MB / 0.794 GB, free: 138 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006622/2.072, allocations: 1.939 MB / 0.7959 GB, free: 137.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/2.074, allocations: 406.5 kB / 0.7963 GB, free: 137.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.042e-06/2.074, allocations: 3.969 kB / 0.7963 GB, free: 137.9 MB / 462.1 MB Notification: Performance of Templates: time 0.123/2.197, allocations: 80.23 MB / 0.8746 GB, free: 77.58 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) Environment - environmentSimulation: