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.0009804/0.0009805, allocations: 108.8 kB / 16.62 MB, free: 6.812 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.001067/0.001067, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.511/1.511, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.001891/0.001891, allocations: 48.14 kB / 279.5 MB, free: 3.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1298, allocations: 46.62 MB / 326.2 MB, free: 4.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.0346/0.1644, allocations: 33.48 MB / 359.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.03219/0.1966, allocations: 9.434 MB / 369.1 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01261/0.2093, allocations: 199.2 kB / 369.3 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03359/0.2431, allocations: 7.658 MB / 376.9 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2438/0.4869, allocations: 3.432 MB / 380.4 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007402/0.4943, allocations: 2.132 MB / 382.5 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02276/0.5171, allocations: 13.45 MB / 395.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03657/0.5537, allocations: 25.31 MB / 421.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01402/0.5678, allocations: 6.625 MB / 427.9 MB, free: 6.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01452/0.5823, allocations: 7.492 MB / 435.4 MB, free: 344 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006818/0.5892, allocations: 1.902 MB / 437.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01103/0.6003, allocations: 2.313 MB / 439.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008487/0.6088, allocations: 3.845 MB / 443.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02025/0.6291, allocations: 7.274 MB / 450.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03714/0.6662, allocations: 25.17 MB / 475.9 MB, free: 8.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.6663, allocations: 0 / 475.9 MB, free: 8.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6663, allocations: 0 / 475.9 MB, free: 8.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001158/0.6675, allocations: 0 / 475.9 MB, free: 8.523 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.05386/0.7214, allocations: 15.05 MB / 490.9 MB, free: 9.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.7214, allocations: 12.03 kB / 490.9 MB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04247/0.7639, allocations: 7.698 MB / 498.6 MB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01641/0.7804, allocations: 7.328 MB / 0.4941 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008686/0.7813, allocations: 0.8243 MB / 0.4949 GB, free: 9.969 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004914/0.7862, allocations: 1.091 MB / 0.496 GB, free: 8.891 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05071/0.8369, allocations: 17.87 MB / 0.5134 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004049/0.8374, allocations: 19.27 kB / 0.5134 GB, free: 6.965 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003597/0.841, allocations: 460.4 kB / 0.5139 GB, free: 6.527 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006961/0.8417, allocations: 0.6597 MB / 0.5145 GB, free: 5.867 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03801/0.8797, allocations: 17.05 MB / 0.5312 GB, free: 4.816 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4689/1.349, allocations: 56.83 MB / 0.5867 GB, free: 107.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02551/1.374, allocations: 42.43 MB / 0.6281 GB, free: 66.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007002/1.381, allocations: 4.599 MB / 0.6326 GB, free: 63.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01998/1.401, allocations: 13.2 MB / 0.6455 GB, free: 51.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003691/1.405, allocations: 3.097 MB / 0.6485 GB, free: 47.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=434): time 6.001e-06/1.405, allocations: 0 / 0.6485 GB, free: 47.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=452): time 0.04463/1.45, allocations: 23.47 MB / 0.6714 GB, free: 24.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/1.45, allocations: 415.3 kB / 0.6718 GB, free: 23.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006528/1.456, allocations: 4.721 MB / 0.6764 GB, free: 19.04 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009735/1.457, allocations: 101.7 kB / 0.6765 GB, free: 18.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003796/1.461, allocations: 4.894 MB / 0.6813 GB, free: 14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001779/1.463, allocations: 1.554 MB / 0.6828 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00183/1.465, allocations: 1.196 MB / 0.684 GB, free: 11.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.156e-05/1.465, allocations: 305.1 kB / 0.6843 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003746/1.469, allocations: 2.886 MB / 0.6871 GB, free: 8.066 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004792/1.473, allocations: 5.309 MB / 0.6923 GB, free: 1.676 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01236/1.486, allocations: 8.68 MB / 0.7008 GB, free: 7.957 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-05/1.486, allocations: 24 kB / 0.7008 GB, free: 7.934 MB / 462.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.2495/1.735, allocations: 9.885 MB / 0.7105 GB, free: 144.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001066/1.736, allocations: 36.44 kB / 0.7105 GB, free: 144.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001956/1.736, allocations: 74.98 kB / 0.7106 GB, free: 144.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004925/1.741, allocations: 1.505 MB / 0.712 GB, free: 144.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006898/1.748, allocations: 1.403 MB / 0.7134 GB, free: 144.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0195/1.767, allocations: 17.66 MB / 0.7306 GB, free: 134.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005588/1.773, allocations: 362.7 kB / 0.731 GB, free: 134 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000907/1.774, allocations: 305.5 kB / 0.7313 GB, free: 134 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.006902/1.781, allocations: 3.968 MB / 0.7352 GB, free: 132.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001234/1.782, allocations: 0.5133 MB / 0.7357 GB, free: 132.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01192/1.794, allocations: 7.959 MB / 0.7434 GB, free: 128.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.829e-05/1.794, allocations: 47.16 kB / 0.7435 GB, free: 128.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.93e-05/1.794, allocations: 15.81 kB / 0.7435 GB, free: 128.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.019e-05/1.794, allocations: 26.7 kB / 0.7435 GB, free: 128.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02579/1.82, allocations: 17.54 MB / 0.7606 GB, free: 121.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/1.82, allocations: 3.25 kB / 0.7607 GB, free: 121.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002898/1.823, allocations: 0.7579 MB / 0.7614 GB, free: 121.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003691/1.826, allocations: 1.565 MB / 0.7629 GB, free: 120.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003952/1.827, allocations: 110.6 kB / 0.763 GB, free: 120.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01984/1.847, allocations: 21.3 MB / 0.7838 GB, free: 99.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/1.847, allocations: 7.594 kB / 0.7838 GB, free: 99.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02191/1.869, allocations: 11.48 MB / 0.795 GB, free: 87.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00423/1.873, allocations: 1.146 MB / 0.7962 GB, free: 86.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002292/1.875, allocations: 99.98 kB / 0.7963 GB, free: 86.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00456/1.88, allocations: 231.8 kB / 0.7965 GB, free: 86.49 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001099/1.881, allocations: 347.5 kB / 0.7968 GB, free: 86.15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003736/1.881, allocations: 132 kB / 0.7969 GB, free: 86.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006687/1.888, allocations: 3.205 MB / 0.8001 GB, free: 82.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/1.888, allocations: 3.938 kB / 0.8001 GB, free: 82.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01132/1.899, allocations: 1.909 MB / 0.8019 GB, free: 80.91 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.00252/1.902, allocations: 0.5771 MB / 0.8025 GB, free: 80.38 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.04994/1.952, allocations: 14.48 MB / 0.8166 GB, free: 65.87 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.549e-05/1.952, allocations: 7.875 kB / 0.8166 GB, free: 65.86 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008287/1.96, allocations: 4.673 MB / 0.8212 GB, free: 61.12 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007044/1.967, allocations: 1.342 MB / 0.8225 GB, free: 59.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04122/2.009, allocations: 24.7 MB / 0.8466 GB, free: 35.04 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01081/2.019, allocations: 6.92 MB / 0.8534 GB, free: 28.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.009452/2.029, allocations: 1.929 MB / 0.8553 GB, free: 26.15 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001894/2.031, allocations: 399.4 kB / 0.8557 GB, free: 25.76 MB / 462.1 MB Notification: Performance of SimCode: time 1.012e-06/2.031, allocations: 0 / 0.8557 GB, free: 25.76 MB / 462.1 MB Notification: Performance of Templates: time 0.3674/2.398, allocations: 86.76 MB / 0.9404 GB, free: 96.52 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)