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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009478/0.0009481, allocations: 88.39 kB / 16.31 MB, free: 6.449 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.0009596/0.0009597, allocations: 183.1 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.572/1.572, allocations: 205.4 MB / 223.4 MB, free: 5.297 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.0004849/0.000485, allocations: 12 kB / 280.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2578, allocations: 47.59 MB / 327.8 MB, free: 1.477 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03075/0.2886, allocations: 29.81 MB / 357.6 MB, free: 5.586 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02074/0.3094, allocations: 8.888 MB / 366.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007608/0.317, allocations: 199.2 kB / 366.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006947/0.324, allocations: 1.775 MB / 368.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0122/0.3362, allocations: 3.153 MB / 371.6 MB, free: 7.527 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006235/0.3425, allocations: 1.539 MB / 373.1 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02696/0.3694, allocations: 15.96 MB / 389.1 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04113/0.4106, allocations: 17.69 MB / 406.8 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01021/0.4209, allocations: 4.902 MB / 411.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01288/0.4338, allocations: 5.619 MB / 417.3 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004852/0.4387, allocations: 0.7383 MB / 418 MB, free: 8.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007823/0.4465, allocations: 1.109 MB / 419.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006806/0.4533, allocations: 2.433 MB / 421.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007265/0.4606, allocations: 2.441 MB / 424 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02809/0.4888, allocations: 21.28 MB / 445.3 MB, free: 13.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.4888, allocations: 0 / 445.3 MB, free: 13.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4888, allocations: 0 / 445.3 MB, free: 13.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008342/0.4897, allocations: 4 kB / 445.3 MB, free: 13.53 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.03867/0.5283, allocations: 12.69 MB / 458 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.5284, allocations: 12.03 kB / 458 MB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4077/0.9361, allocations: 7.734 MB / 465.7 MB, free: 92.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01737/0.9535, allocations: 7.236 MB / 473 MB, free: 88.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009571/0.9545, allocations: 0.8231 MB / 473.8 MB, free: 87.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005023/0.9596, allocations: 1.09 MB / 474.9 MB, free: 87.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04441/1.004, allocations: 17.79 MB / 492.7 MB, free: 71.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005701/1.005, allocations: 27.17 kB / 492.7 MB, free: 71.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003739/1.008, allocations: 460.9 kB / 493.2 MB, free: 71.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006721/1.009, allocations: 0.6714 MB / 493.8 MB, free: 70.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03366/1.043, allocations: 16.97 MB / 0.4988 GB, free: 53.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09387/1.137, allocations: 56.94 MB / 0.5544 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03725/1.174, allocations: 42.37 MB / 0.5958 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009014/1.183, allocations: 4.609 MB / 0.6003 GB, free: 8.746 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02808/1.211, allocations: 13.22 MB / 0.6132 GB, free: 11.55 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006168/1.217, allocations: 3.086 MB / 0.6162 GB, free: 8.395 MB / 462.1 MB Notification: Performance of pre-optimization done (n=434): time 1.381e-05/1.217, allocations: 0 / 0.6162 GB, free: 8.395 MB / 462.1 MB Notification: Performance of matching and sorting (n=452): time 0.296/1.513, allocations: 25.34 MB / 0.641 GB, free: 152.6 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/1.514, allocations: 414.3 kB / 0.6414 GB, free: 152.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00895/1.523, allocations: 4.684 MB / 0.6459 GB, free: 150.4 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001311/1.524, allocations: 101.2 kB / 0.646 GB, free: 150.3 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00516/1.529, allocations: 4.885 MB / 0.6508 GB, free: 146.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002828/1.532, allocations: 1.558 MB / 0.6523 GB, free: 145.5 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004647/1.532, allocations: 127.1 kB / 0.6524 GB, free: 145.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0004343/1.533, allocations: 0.5539 MB / 0.653 GB, free: 145 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004616/1.537, allocations: 2.869 MB / 0.6558 GB, free: 143.9 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005652/1.543, allocations: 5.288 MB / 0.661 GB, free: 139.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00596/1.549, allocations: 3.976 MB / 0.6648 GB, free: 137.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.603e-05/1.549, allocations: 26.58 kB / 0.6649 GB, free: 137.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01707/1.566, allocations: 9.846 MB / 0.6745 GB, free: 130.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.395e-05/1.566, allocations: 36 kB / 0.6745 GB, free: 130.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001202/1.566, allocations: 76 kB / 0.6746 GB, free: 130.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003394/1.57, allocations: 1.51 MB / 0.6761 GB, free: 129.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005311/1.575, allocations: 1.408 MB / 0.6774 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01719/1.592, allocations: 16.31 MB / 0.6934 GB, free: 111 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006445/1.599, allocations: 371.6 kB / 0.6937 GB, free: 110.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001561/1.601, allocations: 304 kB / 0.694 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.009686/1.61, allocations: 3.97 MB / 0.6979 GB, free: 106.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002219/1.612, allocations: 0.5017 MB / 0.6984 GB, free: 105.8 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/1.626, allocations: 7.957 MB / 0.7061 GB, free: 97.76 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-05/1.626, allocations: 55.94 kB / 0.7062 GB, free: 97.71 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.262e-05/1.627, allocations: 16 kB / 0.7062 GB, free: 97.69 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.02e-05/1.627, allocations: 23.91 kB / 0.7062 GB, free: 97.67 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02747/1.654, allocations: 17.51 MB / 0.7233 GB, free: 80.08 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/1.654, allocations: 4 kB / 0.7233 GB, free: 80.07 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002956/1.657, allocations: 0.7573 MB / 0.7241 GB, free: 79.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003696/1.661, allocations: 1.557 MB / 0.7256 GB, free: 77.73 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004124/1.661, allocations: 116 kB / 0.7257 GB, free: 77.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0187/1.68, allocations: 19.55 MB / 0.7448 GB, free: 57.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/1.68, allocations: 8.016 kB / 0.7448 GB, free: 57.15 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01947/1.699, allocations: 11.44 MB / 0.756 GB, free: 45.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00289/1.702, allocations: 1.162 MB / 0.7571 GB, free: 44.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000751/1.703, allocations: 96 kB / 0.7572 GB, free: 44.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002123/1.705, allocations: 243.8 kB / 0.7574 GB, free: 44.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000674/1.706, allocations: 339.6 kB / 0.7578 GB, free: 43.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000242/1.706, allocations: 132 kB / 0.7579 GB, free: 43.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004249/1.71, allocations: 3.17 MB / 0.761 GB, free: 40.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/1.71, allocations: 0 / 0.761 GB, free: 40.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00649/1.717, allocations: 1.911 MB / 0.7628 GB, free: 38.52 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.001387/1.718, allocations: 0.5804 MB / 0.7634 GB, free: 37.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01134/1.73, allocations: 8.187 MB / 0.7714 GB, free: 29.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.73, allocations: 0 / 0.7714 GB, free: 29.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007056/1.737, allocations: 4.656 MB / 0.776 GB, free: 24.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006767/1.744, allocations: 1.299 MB / 0.7772 GB, free: 23.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2588/2.002, allocations: 23.83 MB / 0.8005 GB, free: 140.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009234/2.012, allocations: 6.918 MB / 0.8072 GB, free: 139.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.007829/2.02, allocations: 1.926 MB / 0.8091 GB, free: 139.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001619/2.021, allocations: 407.3 kB / 0.8095 GB, free: 139.4 MB / 462.1 MB Notification: Performance of SimCode: time 1.122e-06/2.021, allocations: 0 / 0.8095 GB, free: 139.4 MB / 462.1 MB Notification: Performance of Templates: time 0.1311/2.152, allocations: 80.7 MB / 0.8883 GB, free: 69.38 MB / 462.1 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)