Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.001201, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009593/0.0009593, allocations: 92.88 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009101/0.0009101, allocations: 51.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1859, allocations: 50.45 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01073/0.1967, allocations: 13.91 MB / 421 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007042/0.2037, allocations: 5.151 MB / 426.1 MB, free: 8.699 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/0.206, allocations: 79.69 kB / 426.2 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00227/0.2083, allocations: 0.9953 MB / 427.2 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002861/0.2112, allocations: 1.248 MB / 428.4 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001724/0.2129, allocations: 0.9584 MB / 429.4 MB, free: 5.414 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003384/0.2163, allocations: 4.467 MB / 433.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002743/0.2191, allocations: 2.723 MB / 436.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001953/0.221, allocations: 1.533 MB / 438.1 MB, free: 12.6 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002157/0.2232, allocations: 2 MB / 440.1 MB, free: 10.59 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004459/0.2237, allocations: 296 kB / 440.4 MB, free: 10.3 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.2249, allocations: 0.5661 MB / 441 MB, free: 9.738 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007523/0.2256, allocations: 0.9187 MB / 441.9 MB, free: 8.816 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001763/0.2274, allocations: 1.924 MB / 443.8 MB, free: 6.883 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005799/0.2332, allocations: 6.617 MB / 450.4 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.2332, allocations: 0 / 450.4 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2332, allocations: 0 / 450.4 MB, free: 252 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000133/0.2334, allocations: 0 / 450.4 MB, free: 252 kB / 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.01081/0.2442, allocations: 4.522 MB / 455 MB, free: 11.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2443, allocations: 11.97 kB / 455 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00414/0.2484, allocations: 0.8279 MB / 455.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004682/0.2531, allocations: 2.37 MB / 458.2 MB, free: 8.375 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.2533, allocations: 242.4 kB / 458.4 MB, free: 8.137 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006147/0.2539, allocations: 323.9 kB / 458.7 MB, free: 7.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007009/0.2609, allocations: 4.28 MB / 463 MB, free: 3.492 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.275e-05/0.261, allocations: 4 kB / 463 MB, free: 3.488 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000283/0.2613, allocations: 136 kB / 463.1 MB, free: 3.355 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001299/0.2615, allocations: 150.4 kB / 463.3 MB, free: 3.207 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0056/0.2671, allocations: 3.636 MB / 466.9 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02071/0.2878, allocations: 13.5 MB / 480.4 MB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006399/0.2943, allocations: 7.225 MB / 487.6 MB, free: 9.539 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002636/0.2969, allocations: 1.601 MB / 489.2 MB, free: 7.938 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006674/0.3036, allocations: 4.331 MB / 493.6 MB, free: 3.445 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001265/0.3049, allocations: 0.8727 MB / 494.5 MB, free: 2.543 MB / 362.7 MB Notification: Performance of pre-optimization done (n=132): time 3.928e-06/0.3049, allocations: 0 / 494.5 MB, free: 2.543 MB / 362.7 MB Notification: Performance of matching and sorting (n=140): time 0.0123/0.3172, allocations: 6.704 MB / 0.4894 GB, free: 11.63 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.626e-05/0.3174, allocations: 230.9 kB / 0.4896 GB, free: 11.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002897/0.3203, allocations: 1.928 MB / 0.4915 GB, free: 9.379 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.3204, allocations: 45.7 kB / 0.4916 GB, free: 9.328 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001228/0.3217, allocations: 1.494 MB / 0.493 GB, free: 7.816 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004203/0.3221, allocations: 493 kB / 0.4935 GB, free: 7.328 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005276/0.3226, allocations: 303.3 kB / 0.4938 GB, free: 7.027 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.435e-05/0.3227, allocations: 301.1 kB / 0.4941 GB, free: 6.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/0.3239, allocations: 0.6754 MB / 0.4947 GB, free: 6.055 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.3254, allocations: 1.232 MB / 0.4959 GB, free: 4.598 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002641/0.328, allocations: 1.955 MB / 0.4978 GB, free: 2.438 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.3281, allocations: 4 kB / 0.4978 GB, free: 2.434 MB / 378.7 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.162/0.4901, allocations: 2.513 MB / 0.5003 GB, free: 88.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.4902, allocations: 13.75 kB / 0.5003 GB, free: 88.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/0.4902, allocations: 14.69 kB / 0.5003 GB, free: 88.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009443/0.4912, allocations: 332.6 kB / 0.5006 GB, free: 88.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/0.4927, allocations: 375 kB / 0.501 GB, free: 88.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004935/0.4976, allocations: 6.285 MB / 0.5071 GB, free: 83.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.4991, allocations: 91.69 kB / 0.5072 GB, free: 83.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.4993, allocations: 75.66 kB / 0.5073 GB, free: 83.83 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 (193): * Single equations (assignments): 189 * 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,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001362/0.5006, allocations: 1.041 MB / 0.5083 GB, free: 83.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.5009, allocations: 198.3 kB / 0.5085 GB, free: 83.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003386/0.5043, allocations: 2.355 MB / 0.5108 GB, free: 82.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.5043, allocations: 11.72 kB / 0.5108 GB, free: 82.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.5044, allocations: 7.844 kB / 0.5108 GB, free: 82.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.5044, allocations: 11.44 kB / 0.5108 GB, free: 82.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007157/0.5115, allocations: 5.23 MB / 0.5159 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.5116, allocations: 3.969 kB / 0.5159 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006995/0.5123, allocations: 183.3 kB / 0.5161 GB, free: 79.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001164/0.5134, allocations: 0.5061 MB / 0.5166 GB, free: 79.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.284e-05/0.5135, allocations: 35.3 kB / 0.5166 GB, free: 79.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007804/0.5214, allocations: 10.62 MB / 0.527 GB, free: 70.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5214, allocations: 0 / 0.527 GB, free: 70.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02974/0.5511, allocations: 26.21 MB / 0.5526 GB, free: 44.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008315/0.552, allocations: 434.5 kB / 0.553 GB, free: 44.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003217/0.5523, allocations: 32 kB / 0.5531 GB, free: 44.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009298/0.5533, allocations: 59.95 kB / 0.5531 GB, free: 44.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002474/0.5535, allocations: 117.1 kB / 0.5532 GB, free: 44.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.04e-05/0.5536, allocations: 39.98 kB / 0.5533 GB, free: 44.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001662/0.5553, allocations: 1.327 MB / 0.5546 GB, free: 42.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5553, allocations: 0 / 0.5546 GB, free: 42.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002482/0.5578, allocations: 0.8128 MB / 0.5553 GB, free: 42.09 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 (99): * Single equations (assignments): 92 * 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,8,100.0%), (1,3,100.0%), (1,8,100.0%), (1,13,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.0009982/0.5588, allocations: 486.2 kB / 0.5558 GB, free: 41.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002775/0.5616, allocations: 2.225 MB / 0.558 GB, free: 39.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5616, allocations: 0 / 0.558 GB, free: 39.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001867/0.5635, allocations: 1.612 MB / 0.5596 GB, free: 37.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/0.5654, allocations: 0.5094 MB / 0.5601 GB, free: 37.31 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009084/0.5745, allocations: 9.006 MB / 0.5689 GB, free: 28.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/0.5761, allocations: 2.415 MB / 0.5712 GB, free: 25.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001276/0.5774, allocations: 417.2 kB / 0.5716 GB, free: 25.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003548/0.5778, allocations: 139.4 kB / 0.5717 GB, free: 25.23 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5778, allocations: 0 / 0.5717 GB, free: 25.23 MB / 378.7 MB Notification: Performance of Templates: time 0.04813/0.6259, allocations: 35.02 MB / 0.6059 GB, free: 6.531 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1)