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.001036/0.001036, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.001135/0.001135, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.565/1.565, allocations: 205.1 MB / 223.3 MB, free: 12.5 MB / 190.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.001365/0.001365, allocations: 51.92 kB / 279.4 MB, free: 3.547 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1116, allocations: 46.62 MB / 326 MB, free: 4.859 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03417/0.1458, allocations: 33.48 MB / 359.5 MB, free: 3.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02431/0.1702, allocations: 9.466 MB / 368.9 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009837/0.1801, allocations: 207.2 kB / 369.1 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02064/0.2008, allocations: 7.639 MB / 376.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2449/0.4457, allocations: 3.473 MB / 380.2 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007903/0.4536, allocations: 2.154 MB / 382.4 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02275/0.4764, allocations: 13.67 MB / 396.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03466/0.5111, allocations: 18.31 MB / 414.4 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01883/0.53, allocations: 6.13 MB / 420.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01488/0.5449, allocations: 6.992 MB / 427.5 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006/0.5509, allocations: 1.172 MB / 428.7 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009809/0.5608, allocations: 1.56 MB / 430.2 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00685/0.5677, allocations: 3.095 MB / 433.3 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0182/0.5859, allocations: 6.5 MB / 439.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03645/0.6224, allocations: 24.66 MB / 464.5 MB, free: 4.383 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.6224, allocations: 0 / 464.5 MB, free: 4.383 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6225, allocations: 0 / 464.5 MB, free: 4.383 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.001165/0.6236, allocations: 4 kB / 464.5 MB, free: 4.379 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.05533/0.679, allocations: 15.05 MB / 479.5 MB, free: 5.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/0.6791, allocations: 8.031 kB / 479.6 MB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04406/0.7231, allocations: 7.706 MB / 487.3 MB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02071/0.7439, allocations: 7.329 MB / 494.6 MB, free: 6.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001375/0.7453, allocations: 0.8273 MB / 495.4 MB, free: 5.812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006273/0.7516, allocations: 1.088 MB / 496.5 MB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05633/0.8079, allocations: 17.87 MB / 0.5023 GB, free: 2.824 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007368/0.8087, allocations: 19.81 kB / 0.5023 GB, free: 2.805 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005061/0.8138, allocations: 456.2 kB / 0.5028 GB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009269/0.8148, allocations: 0.6675 MB / 0.5034 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0462/0.861, allocations: 17.05 MB / 0.5201 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4354/1.296, allocations: 56.82 MB / 0.5756 GB, free: 113.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02209/1.319, allocations: 42.43 MB / 0.617 GB, free: 72.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006142/1.325, allocations: 4.61 MB / 0.6215 GB, free: 70.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01744/1.342, allocations: 13.2 MB / 0.6344 GB, free: 61.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003501/1.346, allocations: 3.09 MB / 0.6374 GB, free: 59.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=434): time 5.4e-06/1.346, allocations: 4 kB / 0.6374 GB, free: 59.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=452): time 0.04074/1.387, allocations: 23.47 MB / 0.6603 GB, free: 35.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.323e-05/1.387, allocations: 411.4 kB / 0.6607 GB, free: 34.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005724/1.392, allocations: 4.721 MB / 0.6653 GB, free: 30.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005583/1.393, allocations: 101.7 kB / 0.6654 GB, free: 30.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003104/1.396, allocations: 4.893 MB / 0.6702 GB, free: 25.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001202/1.397, allocations: 1.554 MB / 0.6717 GB, free: 23.61 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00145/1.399, allocations: 1.2 MB / 0.6729 GB, free: 22.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.029e-05/1.399, allocations: 309.1 kB / 0.6732 GB, free: 22.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003446/1.402, allocations: 2.886 MB / 0.676 GB, free: 19.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004216/1.406, allocations: 5.305 MB / 0.6812 GB, free: 12.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008398/1.415, allocations: 8.687 MB / 0.6897 GB, free: 3.094 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-05/1.415, allocations: 23.98 kB / 0.6897 GB, free: 3.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01613/1.431, allocations: 9.888 MB / 0.6993 GB, free: 9.133 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.564e-05/1.431, allocations: 36 kB / 0.6994 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001114/1.431, allocations: 79.92 kB / 0.6995 GB, free: 9.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003982/1.435, allocations: 1.495 MB / 0.7009 GB, free: 7.504 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005415/1.441, allocations: 1.408 MB / 0.7023 GB, free: 6.094 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2084/1.649, allocations: 16.33 MB / 0.7182 GB, free: 140 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005264/1.654, allocations: 364.3 kB / 0.7186 GB, free: 140 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/1.655, allocations: 304.4 kB / 0.7189 GB, free: 140 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 ($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.007376/1.663, allocations: 3.966 MB / 0.7228 GB, free: 138.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001319/1.664, allocations: 0.5098 MB / 0.7232 GB, free: 138.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/1.677, allocations: 7.972 MB / 0.731 GB, free: 135.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.854e-05/1.677, allocations: 49.84 kB / 0.7311 GB, free: 135.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.332e-05/1.677, allocations: 19.17 kB / 0.7311 GB, free: 135.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.024e-05/1.677, allocations: 23.25 kB / 0.7311 GB, free: 135.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02758/1.704, allocations: 17.53 MB / 0.7482 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/1.704, allocations: 3.969 kB / 0.7482 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00282/1.707, allocations: 0.7533 MB / 0.749 GB, free: 127.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003802/1.711, allocations: 1.566 MB / 0.7505 GB, free: 127.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003311/1.711, allocations: 108.9 kB / 0.7506 GB, free: 127.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01791/1.729, allocations: 19.56 MB / 0.7697 GB, free: 111.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.729, allocations: 7.812 kB / 0.7697 GB, free: 111.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01561/1.745, allocations: 11.48 MB / 0.7809 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00242/1.748, allocations: 1.15 MB / 0.7821 GB, free: 100 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006921/1.748, allocations: 103.7 kB / 0.7822 GB, free: 99.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00222/1.75, allocations: 239 kB / 0.7824 GB, free: 99.71 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007932/1.751, allocations: 331.4 kB / 0.7827 GB, free: 99.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002617/1.752, allocations: 140 kB / 0.7828 GB, free: 99.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004091/1.756, allocations: 3.197 MB / 0.786 GB, free: 96.06 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/1.756, allocations: 1.625 kB / 0.786 GB, free: 96.06 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.007159/1.763, allocations: 1.921 MB / 0.7878 GB, free: 94.14 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.001789/1.765, allocations: 0.5796 MB / 0.7884 GB, free: 93.61 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01142/1.776, allocations: 8.217 MB / 0.7964 GB, free: 85.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.776, allocations: 0 / 0.7964 GB, free: 85.32 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005946/1.782, allocations: 4.664 MB / 0.801 GB, free: 80.58 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005403/1.787, allocations: 1.268 MB / 0.8022 GB, free: 79.31 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03015/1.818, allocations: 24.7 MB / 0.8263 GB, free: 54.56 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005636/1.823, allocations: 6.912 MB / 0.8331 GB, free: 47.62 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005873/1.829, allocations: 1.925 MB / 0.835 GB, free: 45.69 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/1.83, allocations: 407.3 kB / 0.8354 GB, free: 45.29 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/1.83, allocations: 0 / 0.8354 GB, free: 45.29 MB / 462.1 MB Notification: Performance of Templates: time 0.3312/2.162, allocations: 83.79 MB / 0.9172 GB, free: 116.4 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)