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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001244/0.001244, allocations: 114.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001092/0.001092, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 55.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2118, allocations: 50.55 MB / 410 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01436/0.2262, allocations: 14.07 MB / 424 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00773/0.234, allocations: 5.191 MB / 429.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.2356, allocations: 83.69 kB / 429.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002676/0.2383, allocations: 1.161 MB / 430.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003485/0.2419, allocations: 1.426 MB / 431.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.2441, allocations: 1.002 MB / 432.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004215/0.2483, allocations: 4.117 MB / 437 MB, free: 6.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003659/0.252, allocations: 3.257 MB / 440.3 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/0.2543, allocations: 1.943 MB / 442.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003036/0.2573, allocations: 2.289 MB / 444.5 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008674/0.2582, allocations: 0.5117 MB / 445 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.2597, allocations: 0.7652 MB / 445.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009189/0.2607, allocations: 1.145 MB / 446.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001881/0.2626, allocations: 2.151 MB / 449.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005543/0.2681, allocations: 6.844 MB / 455.9 MB, free: 3.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2681, allocations: 0 / 455.9 MB, free: 3.398 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2681, allocations: 0 / 455.9 MB, free: 3.398 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.87e-05/0.2682, allocations: 0 / 455.9 MB, free: 3.398 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.009602/0.2778, allocations: 4.522 MB / 460.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2778, allocations: 8.031 kB / 460.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004299/0.2821, allocations: 0.8279 MB / 461.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004015/0.2862, allocations: 2.486 MB / 463.8 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/0.2863, allocations: 246.4 kB / 464 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00044/0.2868, allocations: 315.9 kB / 464.3 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006533/0.2933, allocations: 4.284 MB / 468.6 MB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.416e-05/0.2934, allocations: 11.89 kB / 468.6 MB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003067/0.2937, allocations: 132 kB / 468.7 MB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001322/0.2939, allocations: 154.4 kB / 468.9 MB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005574/0.2995, allocations: 3.633 MB / 472.5 MB, free: 2.602 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01759/0.3171, allocations: 13.33 MB / 485.8 MB, free: 4.914 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00668/0.3238, allocations: 7.238 MB / 493.1 MB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002818/0.3266, allocations: 1.64 MB / 494.7 MB, free: 11.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006358/0.333, allocations: 4.307 MB / 499 MB, free: 6.621 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001282/0.3343, allocations: 0.8689 MB / 499.9 MB, free: 5.719 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 2.796e-06/0.3343, allocations: 0 / 499.9 MB, free: 5.719 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.0119/0.3462, allocations: 6.7 MB / 0.4947 GB, free: 14.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.457e-05/0.3463, allocations: 230.9 kB / 0.4949 GB, free: 14.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002958/0.3493, allocations: 1.936 MB / 0.4968 GB, free: 12.55 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.105e-05/0.3494, allocations: 45.7 kB / 0.4969 GB, free: 12.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001092/0.3505, allocations: 1.498 MB / 0.4983 GB, free: 10.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003441/0.3508, allocations: 493 kB / 0.4988 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000441/0.3513, allocations: 303.3 kB / 0.4991 GB, free: 10.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.256e-05/0.3514, allocations: 305.1 kB / 0.4994 GB, free: 9.898 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.3524, allocations: 0.6754 MB / 0.5001 GB, free: 9.223 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.3538, allocations: 1.229 MB / 0.5013 GB, free: 7.773 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002546/0.3564, allocations: 1.959 MB / 0.5032 GB, free: 5.609 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.3564, allocations: 4 kB / 0.5032 GB, free: 5.605 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.00395/0.3604, allocations: 2.514 MB / 0.5056 GB, free: 3.051 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.3604, allocations: 12 kB / 0.5056 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.3604, allocations: 12 kB / 0.5056 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008226/0.3613, allocations: 351 kB / 0.506 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/0.3627, allocations: 367.4 kB / 0.5063 GB, free: 2.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00631/0.369, allocations: 6.791 MB / 0.513 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.3703, allocations: 91.86 kB / 0.5131 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.3704, allocations: 72 kB / 0.5131 GB, free: 10.94 MB / 446.1 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.001576/0.372, allocations: 1.04 MB / 0.5141 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002707/0.3723, allocations: 205.5 kB / 0.5143 GB, free: 9.688 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003944/0.3762, allocations: 2.352 MB / 0.5166 GB, free: 7.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.3762, allocations: 7.922 kB / 0.5166 GB, free: 7.262 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3762, allocations: 0 / 0.5166 GB, free: 7.262 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000723/0.377, allocations: 434.7 kB / 0.5171 GB, free: 6.816 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002679/0.3772, allocations: 39.98 kB / 0.5171 GB, free: 6.777 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008389/0.3781, allocations: 55.97 kB / 0.5171 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002033/0.3783, allocations: 129.1 kB / 0.5173 GB, free: 6.594 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004468/0.3828, allocations: 2.211 MB / 0.5194 GB, free: 4.367 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003514/0.3863, allocations: 2.558 MB / 0.5219 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000993/0.3873, allocations: 0.7168 MB / 0.5226 GB, free: 1.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001758/0.3891, allocations: 1.335 MB / 0.5239 GB, free: 15.71 MB / 462.1 MB Notification: Performance of Backend: time 2.71e-07/0.3891, allocations: 0 / 0.5239 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004202/0.3933, allocations: 2.247 MB / 0.5261 GB, free: 13.56 MB / 462.1 MB Notification: Performance of SimCode: time 0.009029/0.4023, allocations: 6.508 MB / 0.5325 GB, free: 7.008 MB / 462.1 MB Notification: Performance of Templates: time 0.211/0.6133, allocations: 34.64 MB / 0.5663 GB, free: 108.1 MB / 462.1 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)