Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009275/0.0009275, allocations: 98.28 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008123/0.0008123, allocations: 39.95 kB / 350.1 MB, free: 64 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.2002, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01037/0.2106, allocations: 13.26 MB / 412.8 MB, free: 20.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006862/0.2175, allocations: 4.792 MB / 417.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00187/0.2194, allocations: 75.69 kB / 417.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00222/0.2217, allocations: 0.972 MB / 418.6 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0027/0.2244, allocations: 1.248 MB / 419.8 MB, free: 12.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.2261, allocations: 0.9072 MB / 420.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003173/0.2293, allocations: 4.371 MB / 425.1 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00219/0.2315, allocations: 2.718 MB / 427.8 MB, free: 4.867 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001242/0.2328, allocations: 1.537 MB / 429.4 MB, free: 3.324 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001578/0.2343, allocations: 1.988 MB / 431.4 MB, free: 1.328 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004279/0.2348, allocations: 300 kB / 431.7 MB, free: 1.035 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.2358, allocations: 0.5388 MB / 432.2 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006546/0.2365, allocations: 0.9187 MB / 433.1 MB, free: 15.57 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001648/0.2381, allocations: 1.901 MB / 435 MB, free: 13.66 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005229/0.2434, allocations: 6.578 MB / 441.6 MB, free: 7.066 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2434, allocations: 0 / 441.6 MB, free: 7.066 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2434, allocations: 0 / 441.6 MB, free: 7.066 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.918e-05/0.2435, allocations: 4 kB / 441.6 MB, free: 7.062 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.009844/0.2533, allocations: 4.48 MB / 446.1 MB, free: 2.508 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2534, allocations: 11.97 kB / 446.1 MB, free: 2.496 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003907/0.2573, allocations: 0.8279 MB / 446.9 MB, free: 1.664 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003871/0.2612, allocations: 2.35 MB / 449.3 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.2614, allocations: 246.4 kB / 449.5 MB, free: 15.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004399/0.2618, allocations: 319.8 kB / 449.8 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00629/0.2681, allocations: 4.284 MB / 454.1 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.058e-05/0.2682, allocations: 7.906 kB / 454.1 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002865/0.2685, allocations: 128 kB / 454.2 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/0.2686, allocations: 166.4 kB / 454.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005567/0.2742, allocations: 3.625 MB / 458 MB, free: 6.438 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0185/0.2927, allocations: 13.41 MB / 471.4 MB, free: 8.688 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006356/0.2991, allocations: 6.966 MB / 478.4 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002042/0.3012, allocations: 1.378 MB / 479.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006073/0.3072, allocations: 3.86 MB / 483.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001258/0.3085, allocations: 0.8572 MB / 484.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=132): time 3.036e-06/0.3085, allocations: 0 / 484.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=140): time 0.0116/0.3201, allocations: 6.528 MB / 491 MB, free: 3.859 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.63e-05/0.3203, allocations: 222.9 kB / 491.2 MB, free: 3.594 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002687/0.323, allocations: 1.902 MB / 493.1 MB, free: 1.691 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.3231, allocations: 49.7 kB / 493.2 MB, free: 1.637 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001248/0.3244, allocations: 1.474 MB / 494.7 MB, free: 148 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003855/0.3247, allocations: 485.2 kB / 495.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004553/0.3252, allocations: 311.3 kB / 495.4 MB, free: 15.35 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.873e-05/0.3253, allocations: 313 kB / 495.7 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.3264, allocations: 0.6637 MB / 496.4 MB, free: 14.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.3277, allocations: 1.221 MB / 497.6 MB, free: 12.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002446/0.3302, allocations: 1.931 MB / 499.6 MB, free: 10.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/0.3302, allocations: 4 kB / 499.6 MB, free: 10.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003883/0.3341, allocations: 2.432 MB / 0.4902 GB, free: 8.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.3341, allocations: 12 kB / 0.4902 GB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.3341, allocations: 16 kB / 0.4903 GB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006959/0.3348, allocations: 283.5 kB / 0.4905 GB, free: 8.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.3362, allocations: 383.3 kB / 0.4909 GB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004972/0.3412, allocations: 5.859 MB / 0.4966 GB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.3424, allocations: 91.86 kB / 0.4967 GB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.3425, allocations: 68.06 kB / 0.4968 GB, free: 1.215 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (196): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(1,4,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001486/0.344, allocations: 1.036 MB / 0.4978 GB, free: 172 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1595/0.5035, allocations: 200.5 kB / 0.498 GB, free: 94.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004205/0.5078, allocations: 2.254 MB / 0.5002 GB, free: 93.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.5078, allocations: 19.33 kB / 0.5002 GB, free: 93.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.5078, allocations: 9.844 kB / 0.5002 GB, free: 93.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/0.5078, allocations: 6.891 kB / 0.5002 GB, free: 93.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006607/0.5144, allocations: 5.113 MB / 0.5052 GB, free: 91.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.5145, allocations: 1.094 kB / 0.5052 GB, free: 91.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007089/0.5152, allocations: 186.3 kB / 0.5054 GB, free: 91.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001053/0.5162, allocations: 461.1 kB / 0.5058 GB, free: 91.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.5164, allocations: 44.48 kB / 0.5059 GB, free: 91.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007523/0.5239, allocations: 10.2 MB / 0.5158 GB, free: 82.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5239, allocations: 0 / 0.5158 GB, free: 82.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02567/0.5496, allocations: 25.01 MB / 0.5402 GB, free: 60.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006091/0.5502, allocations: 430.5 kB / 0.5407 GB, free: 59.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.5504, allocations: 35.17 kB / 0.5407 GB, free: 59.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007852/0.5512, allocations: 67.88 kB / 0.5408 GB, free: 59.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/0.5515, allocations: 109.2 kB / 0.5409 GB, free: 59.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.046e-05/0.5515, allocations: 39.98 kB / 0.5409 GB, free: 59.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001372/0.5529, allocations: 1.311 MB / 0.5422 GB, free: 58.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5529, allocations: 0 / 0.5422 GB, free: 58.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002103/0.555, allocations: 0.7994 MB / 0.543 GB, free: 57.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.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 (102): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(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.0009255/0.556, allocations: 479.5 kB / 0.5434 GB, free: 57.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002487/0.5585, allocations: 2.177 MB / 0.5455 GB, free: 54.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5585, allocations: 0 / 0.5455 GB, free: 54.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.5602, allocations: 1.578 MB / 0.5471 GB, free: 53.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.5622, allocations: 0.5143 MB / 0.5476 GB, free: 52.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008987/0.5712, allocations: 8.946 MB / 0.5563 GB, free: 43.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/0.5727, allocations: 2.4 MB / 0.5587 GB, free: 41.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001353/0.5741, allocations: 417 kB / 0.5591 GB, free: 40.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003315/0.5744, allocations: 139.4 kB / 0.5592 GB, free: 40.67 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5744, allocations: 0 / 0.5592 GB, free: 40.67 MB / 378.7 MB Notification: Performance of Templates: time 0.04652/0.621, allocations: 34.24 MB / 0.5926 GB, free: 6.809 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1)