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.001172/0.001172, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001416/0.001416, allocations: 168.7 kB / 15.95 MB, free: 204 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.372/1.372, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0004632/0.0004633, allocations: 12 kB / 278.9 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2442, allocations: 47.58 MB / 326.5 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03052/0.2748, allocations: 29.82 MB / 356.3 MB, free: 5.594 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02084/0.2957, allocations: 8.876 MB / 365.2 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006025/0.3017, allocations: 203.2 kB / 365.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006655/0.3084, allocations: 1.775 MB / 367.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.3194, allocations: 3.149 MB / 370.3 MB, free: 7.547 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00589/0.3253, allocations: 1.543 MB / 371.9 MB, free: 6.004 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02295/0.3482, allocations: 15.96 MB / 387.8 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03473/0.383, allocations: 17.7 MB / 405.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008479/0.3915, allocations: 4.898 MB / 410.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008541/0.4001, allocations: 5.619 MB / 416 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00246/0.4026, allocations: 0.7383 MB / 416.8 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00403/0.4066, allocations: 1.109 MB / 417.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002373/0.409, allocations: 2.429 MB / 420.3 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003315/0.4123, allocations: 2.441 MB / 422.8 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02193/0.4343, allocations: 21.29 MB / 444 MB, free: 13.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.4343, allocations: 0 / 444 MB, free: 13.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4343, allocations: 0 / 444 MB, free: 13.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008522/0.4352, allocations: 0 / 444 MB, free: 13.54 MB / 382.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.03539/0.4706, allocations: 12.7 MB / 456.7 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.4706, allocations: 8.031 kB / 456.8 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3743/0.845, allocations: 7.732 MB / 464.5 MB, free: 92.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0137/0.8587, allocations: 7.237 MB / 471.7 MB, free: 87.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007516/0.8595, allocations: 0.8227 MB / 472.5 MB, free: 87.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00399/0.8635, allocations: 1.091 MB / 473.6 MB, free: 87.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03815/0.9017, allocations: 17.79 MB / 491.4 MB, free: 71.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004519/0.9022, allocations: 24.31 kB / 491.4 MB, free: 71.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002887/0.9051, allocations: 460.5 kB / 491.9 MB, free: 71.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005811/0.9057, allocations: 0.6675 MB / 492.6 MB, free: 70.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0305/0.9362, allocations: 16.97 MB / 0.4976 GB, free: 53.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08024/1.016, allocations: 56.94 MB / 0.5532 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03478/1.051, allocations: 42.37 MB / 0.5946 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00807/1.059, allocations: 4.613 MB / 0.5991 GB, free: 8.754 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02362/1.083, allocations: 13.21 MB / 0.612 GB, free: 11.56 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004974/1.088, allocations: 3.082 MB / 0.615 GB, free: 8.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=434): time 8.035e-06/1.088, allocations: 0 / 0.615 GB, free: 8.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=452): time 0.2738/1.362, allocations: 25.34 MB / 0.6397 GB, free: 152.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001459/1.362, allocations: 418.6 kB / 0.6401 GB, free: 152.1 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01108/1.373, allocations: 4.685 MB / 0.6447 GB, free: 150.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009145/1.374, allocations: 101.2 kB / 0.6448 GB, free: 150.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005228/1.379, allocations: 4.891 MB / 0.6496 GB, free: 146.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002962/1.382, allocations: 1.55 MB / 0.6511 GB, free: 145.4 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/1.384, allocations: 134 kB / 0.6512 GB, free: 145.3 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0006489/1.384, allocations: 0.5499 MB / 0.6518 GB, free: 144.9 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007989/1.392, allocations: 2.865 MB / 0.6546 GB, free: 143.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009077/1.401, allocations: 5.282 MB / 0.6597 GB, free: 139.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009904/1.411, allocations: 3.981 MB / 0.6636 GB, free: 137.8 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.012e-05/1.411, allocations: 26.77 kB / 0.6636 GB, free: 137.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.02778/1.439, allocations: 9.855 MB / 0.6733 GB, free: 130.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/1.439, allocations: 36 kB / 0.6733 GB, free: 130.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001375/1.44, allocations: 72 kB / 0.6734 GB, free: 130.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006648/1.446, allocations: 1.514 MB / 0.6748 GB, free: 129.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009854/1.456, allocations: 1.408 MB / 0.6762 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02435/1.48, allocations: 16.3 MB / 0.6921 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004925/1.485, allocations: 371.7 kB / 0.6925 GB, free: 110.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00106/1.486, allocations: 308 kB / 0.6928 GB, free: 110.3 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 336 * 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 (727): * Single equations (assignments): 721 * 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.006334/1.493, allocations: 3.966 MB / 0.6967 GB, free: 106.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001264/1.494, allocations: 0.5055 MB / 0.6971 GB, free: 105.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/1.506, allocations: 7.958 MB / 0.7049 GB, free: 97.77 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.608e-05/1.506, allocations: 51.94 kB / 0.705 GB, free: 97.71 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-05/1.506, allocations: 16 kB / 0.705 GB, free: 97.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.52e-05/1.506, allocations: 23.92 kB / 0.705 GB, free: 97.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02724/1.533, allocations: 17.51 MB / 0.7221 GB, free: 80.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/1.533, allocations: 4 kB / 0.7221 GB, free: 80.08 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002782/1.536, allocations: 0.765 MB / 0.7229 GB, free: 79.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003509/1.54, allocations: 1.55 MB / 0.7244 GB, free: 77.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003091/1.54, allocations: 108 kB / 0.7245 GB, free: 77.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01751/1.557, allocations: 19.55 MB / 0.7436 GB, free: 57.17 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/1.558, allocations: 8 kB / 0.7436 GB, free: 57.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01548/1.573, allocations: 11.44 MB / 0.7547 GB, free: 45.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002918/1.576, allocations: 1.166 MB / 0.7559 GB, free: 44.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001163/1.577, allocations: 99.98 kB / 0.756 GB, free: 44.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002593/1.58, allocations: 239.8 kB / 0.7562 GB, free: 44.06 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006452/1.58, allocations: 346.5 kB / 0.7565 GB, free: 43.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002427/1.581, allocations: 136 kB / 0.7567 GB, free: 43.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004069/1.585, allocations: 3.158 MB / 0.7597 GB, free: 40.44 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/1.585, allocations: 0 / 0.7597 GB, free: 40.44 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006146/1.591, allocations: 1.919 MB / 0.7616 GB, free: 38.53 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 (396): * Single equations (assignments): 387 * 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,41.8%) 44,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 3,(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.001348/1.592, allocations: 0.5747 MB / 0.7622 GB, free: 37.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01115/1.603, allocations: 8.189 MB / 0.7702 GB, free: 29.71 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.603, allocations: 0 / 0.7702 GB, free: 29.71 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006352/1.61, allocations: 4.656 MB / 0.7747 GB, free: 24.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005415/1.615, allocations: 1.287 MB / 0.776 GB, free: 23.68 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2176/1.833, allocations: 23.84 MB / 0.7993 GB, free: 140.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006905/1.84, allocations: 6.911 MB / 0.806 GB, free: 139.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006281/1.846, allocations: 1.922 MB / 0.8079 GB, free: 139.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/1.847, allocations: 403.1 kB / 0.8083 GB, free: 139.4 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/1.847, allocations: 0 / 0.8083 GB, free: 139.4 MB / 462.1 MB Notification: Performance of Templates: time 0.1139/1.961, allocations: 80.72 MB / 0.8871 GB, free: 69.41 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (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)