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.0009923/0.0009925, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008768/0.008769, allocations: 172 kB / 16.27 MB, free: 6.652 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.651/1.651, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004679/0.000468, allocations: 15.98 kB / 279.5 MB, free: 12.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2611, allocations: 47.58 MB / 327.1 MB, free: 1.371 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03646/0.2976, allocations: 32.15 MB / 359.2 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02165/0.3193, allocations: 9.384 MB / 368.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008209/0.3275, allocations: 199.2 kB / 368.8 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008388/0.3359, allocations: 2.259 MB / 371 MB, free: 7.227 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0155/0.3515, allocations: 3.449 MB / 374.5 MB, free: 3.762 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008382/0.3599, allocations: 2.038 MB / 376.5 MB, free: 1.723 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01967/0.3796, allocations: 13.68 MB / 390.2 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0352/0.4148, allocations: 21.56 MB / 411.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008971/0.4238, allocations: 4.748 MB / 416.5 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01039/0.4342, allocations: 5.855 MB / 422.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003481/0.4377, allocations: 0.7383 MB / 423.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005565/0.4433, allocations: 1.132 MB / 424.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004283/0.4476, allocations: 2.479 MB / 426.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01099/0.4587, allocations: 5.805 MB / 432.5 MB, free: 9.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02753/0.4862, allocations: 23.77 MB / 456.3 MB, free: 1.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.4863, allocations: 0 / 456.3 MB, free: 1.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.4863, allocations: 0 / 456.3 MB, free: 1.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008184/0.4871, allocations: 0 / 456.3 MB, free: 1.582 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.3886/0.8757, allocations: 12.58 MB / 468.9 MB, free: 95.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.8758, allocations: 11.86 kB / 468.9 MB, free: 95.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04227/0.9181, allocations: 7.737 MB / 476.6 MB, free: 90.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01473/0.9328, allocations: 7.352 MB / 484 MB, free: 83.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006544/0.9335, allocations: 0.8246 MB / 484.8 MB, free: 82.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003947/0.9375, allocations: 1.095 MB / 485.9 MB, free: 81.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04189/0.9794, allocations: 17.87 MB / 0.492 GB, free: 63.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004213/0.9799, allocations: 23.89 kB / 0.492 GB, free: 63.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0033/0.9832, allocations: 463.4 kB / 0.4924 GB, free: 63.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005641/0.9837, allocations: 0.6636 MB / 0.4931 GB, free: 62.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03264/1.016, allocations: 17.06 MB / 0.5097 GB, free: 45.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.101/1.117, allocations: 56.99 MB / 0.5654 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03715/1.155, allocations: 42.4 MB / 0.6068 GB, free: 4.789 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008628/1.163, allocations: 4.625 MB / 0.6113 GB, free: 152 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2445/1.408, allocations: 13.21 MB / 0.6242 GB, free: 140.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00461/1.412, allocations: 3.098 MB / 0.6272 GB, free: 139.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=434): time 7.404e-06/1.412, allocations: 0 / 0.6272 GB, free: 139.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=452): time 0.04653/1.459, allocations: 23.55 MB / 0.6502 GB, free: 127.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/1.459, allocations: 413.4 kB / 0.6506 GB, free: 126.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00611/1.465, allocations: 4.721 MB / 0.6552 GB, free: 122.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007617/1.466, allocations: 101.7 kB / 0.6553 GB, free: 122.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003263/1.469, allocations: 4.89 MB / 0.6601 GB, free: 117.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002028/1.471, allocations: 1.558 MB / 0.6616 GB, free: 116.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000789/1.472, allocations: 0.4916 MB / 0.6621 GB, free: 115.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.544e-05/1.472, allocations: 313 kB / 0.6624 GB, free: 115.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004238/1.477, allocations: 2.886 MB / 0.6652 GB, free: 112.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004803/1.481, allocations: 5.321 MB / 0.6704 GB, free: 106.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009521/1.491, allocations: 8.686 MB / 0.6789 GB, free: 96.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-05/1.491, allocations: 20 kB / 0.6789 GB, free: 96.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01685/1.508, allocations: 9.908 MB / 0.6886 GB, free: 86.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.138e-05/1.508, allocations: 36 kB / 0.6886 GB, free: 86.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001253/1.508, allocations: 72 kB / 0.6887 GB, free: 86.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00366/1.512, allocations: 1.499 MB / 0.6902 GB, free: 84.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005648/1.517, allocations: 1.412 MB / 0.6915 GB, free: 83.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01718/1.535, allocations: 16.33 MB / 0.7075 GB, free: 66.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005792/1.54, allocations: 371.5 kB / 0.7078 GB, free: 66.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00126/1.542, allocations: 308 kB / 0.7081 GB, free: 65.87 MB / 446.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 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * 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 (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,4,100.0%), (1,5,100.0%), (1,13,100.0%), (1,4,100.0%), (14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008005/1.55, allocations: 3.962 MB / 0.712 GB, free: 61.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001763/1.552, allocations: 0.5132 MB / 0.7125 GB, free: 61.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01652/1.568, allocations: 7.97 MB / 0.7203 GB, free: 53.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.068e-05/1.568, allocations: 48 kB / 0.7203 GB, free: 53.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.457e-05/1.568, allocations: 16 kB / 0.7204 GB, free: 53.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.935e-05/1.568, allocations: 27.84 kB / 0.7204 GB, free: 53.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03287/1.601, allocations: 17.54 MB / 0.7375 GB, free: 35.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/1.601, allocations: 4 kB / 0.7375 GB, free: 35.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003154/1.604, allocations: 0.7572 MB / 0.7383 GB, free: 34.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003854/1.608, allocations: 1.563 MB / 0.7398 GB, free: 33.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006453/1.609, allocations: 116 kB / 0.7399 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01805/1.627, allocations: 19.59 MB / 0.759 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/1.627, allocations: 7.938 kB / 0.759 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01669/1.644, allocations: 11.48 MB / 0.7702 GB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003367/1.647, allocations: 1.169 MB / 0.7714 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001486/1.649, allocations: 99.98 kB / 0.7715 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003053/1.652, allocations: 243.8 kB / 0.7717 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008709/1.653, allocations: 335.6 kB / 0.772 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002882/1.653, allocations: 140 kB / 0.7722 GB, free: 15.03 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.2249/1.878, allocations: 3.191 MB / 0.7753 GB, free: 145.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.31e-07/1.878, allocations: 0 / 0.7753 GB, free: 145.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.009788/1.888, allocations: 1.915 MB / 0.7771 GB, free: 145.5 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 (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (14,44,41.8%), (1,5,100.0%), (1,13,100.0%), (1,3,100.0%), (1,8,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002061/1.89, allocations: 0.582 MB / 0.7777 GB, free: 145.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01307/1.903, allocations: 8.233 MB / 0.7858 GB, free: 143.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/1.903, allocations: 0 / 0.7858 GB, free: 143.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006834/1.91, allocations: 4.669 MB / 0.7903 GB, free: 141.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008877/1.919, allocations: 1.277 MB / 0.7916 GB, free: 141.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03506/1.954, allocations: 24.91 MB / 0.8159 GB, free: 126.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005974/1.96, allocations: 6.92 MB / 0.8226 GB, free: 121.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006128/1.966, allocations: 1.925 MB / 0.8245 GB, free: 120.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001788/1.968, allocations: 398.3 kB / 0.8249 GB, free: 119.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/1.968, allocations: 0 / 0.8249 GB, free: 119.9 MB / 462.1 MB Notification: Performance of Templates: time 0.1403/2.108, allocations: 82.53 MB / 0.9055 GB, free: 40.05 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)