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.0007565/0.0007565, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005339/0.005339, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.598/1.598, 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.0004477/0.0004477, allocations: 12.42 kB / 279.5 MB, free: 12.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2601, allocations: 47.58 MB / 327.1 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03333/0.2935, allocations: 32.15 MB / 359.2 MB, free: 3.086 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02425/0.3178, allocations: 9.38 MB / 368.6 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00755/0.3254, allocations: 199.2 kB / 368.8 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007939/0.3334, allocations: 2.255 MB / 371 MB, free: 7.219 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01559/0.349, allocations: 3.457 MB / 374.5 MB, free: 3.746 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007516/0.3565, allocations: 2.035 MB / 376.5 MB, free: 1.711 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.02008/0.3766, allocations: 13.66 MB / 390.2 MB, free: 4 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03844/0.4151, allocations: 21.57 MB / 411.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008747/0.4239, allocations: 4.74 MB / 416.5 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01074/0.4347, allocations: 5.862 MB / 422.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003723/0.4385, allocations: 0.7383 MB / 423.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007339/0.4458, allocations: 1.14 MB / 424.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007643/0.4535, allocations: 2.475 MB / 426.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0132/0.4667, allocations: 5.798 MB / 432.5 MB, free: 9.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03043/0.4972, allocations: 23.78 MB / 456.3 MB, free: 1.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4972, allocations: 0 / 456.3 MB, free: 1.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4973, allocations: 0 / 456.3 MB, free: 1.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0008145/0.4981, allocations: 0 / 456.3 MB, free: 1.574 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.3967/0.8948, allocations: 12.58 MB / 468.9 MB, free: 95.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.8949, allocations: 11.69 kB / 468.9 MB, free: 95.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04163/0.9365, allocations: 7.736 MB / 476.6 MB, free: 90.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01541/0.952, allocations: 7.349 MB / 484 MB, free: 83.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007863/0.9528, allocations: 0.8283 MB / 484.8 MB, free: 82.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004387/0.9572, allocations: 1.087 MB / 485.9 MB, free: 81.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04471/1.002, allocations: 17.88 MB / 0.492 GB, free: 63.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007707/1.003, allocations: 15.91 kB / 0.492 GB, free: 63.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005284/1.008, allocations: 462.9 kB / 0.4924 GB, free: 63.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007378/1.009, allocations: 0.6724 MB / 0.4931 GB, free: 62.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03695/1.046, allocations: 17.06 MB / 0.5097 GB, free: 45.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1036/1.149, allocations: 56.98 MB / 0.5654 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03524/1.185, allocations: 42.41 MB / 0.6068 GB, free: 4.777 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00903/1.194, allocations: 4.621 MB / 0.6113 GB, free: 144 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2377/1.432, allocations: 13.21 MB / 0.6242 GB, free: 140.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00398/1.436, allocations: 3.098 MB / 0.6272 GB, free: 139.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=434): time 6.542e-06/1.436, allocations: 0 / 0.6272 GB, free: 139.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=452): time 0.04939/1.485, allocations: 23.54 MB / 0.6502 GB, free: 127.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/1.485, allocations: 411.4 kB / 0.6506 GB, free: 127 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00707/1.492, allocations: 4.729 MB / 0.6552 GB, free: 122.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009863/1.493, allocations: 97.7 kB / 0.6553 GB, free: 122.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003592/1.497, allocations: 4.895 MB / 0.6601 GB, free: 117.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001686/1.499, allocations: 1.555 MB / 0.6616 GB, free: 116.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006525/1.499, allocations: 499.8 kB / 0.6621 GB, free: 115.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.95e-05/1.499, allocations: 305.1 kB / 0.6624 GB, free: 115.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003832/1.503, allocations: 2.89 MB / 0.6652 GB, free: 112.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004879/1.508, allocations: 5.317 MB / 0.6704 GB, free: 106.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009648/1.518, allocations: 8.69 MB / 0.6789 GB, free: 96.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.26e-05/1.518, allocations: 20 kB / 0.6789 GB, free: 96.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.0172/1.535, allocations: 9.899 MB / 0.6886 GB, free: 86.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.931e-05/1.535, allocations: 36.94 kB / 0.6886 GB, free: 86.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000127/1.535, allocations: 75.98 kB / 0.6887 GB, free: 86.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003751/1.539, allocations: 1.495 MB / 0.6901 GB, free: 84.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005444/1.544, allocations: 1.412 MB / 0.6915 GB, free: 83.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0172/1.562, allocations: 16.35 MB / 0.7075 GB, free: 66.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006948/1.569, allocations: 371.5 kB / 0.7079 GB, free: 66.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001488/1.57, allocations: 303.8 kB / 0.7081 GB, free: 65.88 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.007612/1.578, allocations: 3.97 MB / 0.712 GB, free: 61.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001291/1.579, allocations: 0.5132 MB / 0.7125 GB, free: 61.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01284/1.592, allocations: 7.963 MB / 0.7203 GB, free: 53.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.013e-05/1.592, allocations: 48 kB / 0.7203 GB, free: 53.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.127e-05/1.592, allocations: 16 kB / 0.7204 GB, free: 53.26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.564e-05/1.592, allocations: 27.91 kB / 0.7204 GB, free: 53.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02937/1.622, allocations: 17.55 MB / 0.7375 GB, free: 35.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/1.622, allocations: 4 kB / 0.7375 GB, free: 35.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003387/1.625, allocations: 0.7528 MB / 0.7383 GB, free: 34.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004224/1.629, allocations: 1.562 MB / 0.7398 GB, free: 33.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000864/1.63, allocations: 116 kB / 0.7399 GB, free: 33.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01819/1.648, allocations: 19.58 MB / 0.759 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/1.648, allocations: 7.938 kB / 0.759 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01617/1.665, allocations: 11.49 MB / 0.7702 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003187/1.668, allocations: 1.174 MB / 0.7714 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001283/1.669, allocations: 96 kB / 0.7715 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003123/1.672, allocations: 239.8 kB / 0.7717 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008514/1.673, allocations: 335.6 kB / 0.772 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000273/1.673, allocations: 136 kB / 0.7722 GB, free: 15.03 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.2098/1.883, allocations: 3.2 MB / 0.7753 GB, free: 145.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.72e-07/1.883, allocations: 0.5312 kB / 0.7753 GB, free: 145.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008601/1.892, allocations: 1.913 MB / 0.7772 GB, free: 145.6 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.001639/1.893, allocations: 0.5723 MB / 0.7777 GB, free: 145.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01462/1.908, allocations: 8.236 MB / 0.7858 GB, free: 143.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-05/1.908, allocations: 0 / 0.7858 GB, free: 143.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009287/1.917, allocations: 4.671 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.009752/1.927, allocations: 1.276 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.03369/1.961, allocations: 24.92 MB / 0.8159 GB, free: 126.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008799/1.97, allocations: 6.911 MB / 0.8226 GB, free: 121.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.007195/1.977, allocations: 1.924 MB / 0.8245 GB, free: 120.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/1.978, allocations: 405.8 kB / 0.8249 GB, free: 119.9 MB / 462.1 MB Notification: Performance of SimCode: time 9.21e-07/1.978, allocations: 0 / 0.8249 GB, free: 119.9 MB / 462.1 MB Notification: Performance of Templates: time 0.1313/2.11, allocations: 82.52 MB / 0.9055 GB, free: 40.05 MB / 462.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (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)