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.00149/0.00149, allocations: 110.8 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001781/0.001781, allocations: 212 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.327/1.327, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1998/0.201, allocations: 50.54 MB / 410 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.01486/0.2159, allocations: 14.07 MB / 424 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008325/0.2243, allocations: 5.195 MB / 429.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00142/0.2257, allocations: 83.69 kB / 429.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002263/0.228, allocations: 1.161 MB / 430.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002717/0.2307, allocations: 1.422 MB / 431.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.2326, allocations: 1.011 MB / 432.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003529/0.2362, allocations: 4.113 MB / 437 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003285/0.2395, allocations: 3.253 MB / 440.3 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001934/0.2414, allocations: 1.943 MB / 442.2 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002452/0.2439, allocations: 2.289 MB / 444.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005365/0.2444, allocations: 0.5078 MB / 445 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001098/0.2455, allocations: 0.7691 MB / 445.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008794/0.2464, allocations: 1.149 MB / 446.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001708/0.2481, allocations: 2.155 MB / 449.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005448/0.2536, allocations: 6.837 MB / 455.9 MB, free: 3.422 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2536, allocations: 0 / 455.9 MB, free: 3.422 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2536, allocations: 4 kB / 455.9 MB, free: 3.418 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.107e-05/0.2537, allocations: 4 kB / 455.9 MB, free: 3.414 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.009269/0.2629, allocations: 4.515 MB / 460.4 MB, free: 14.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.263, allocations: 12.03 kB / 460.4 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004334/0.2673, allocations: 0.8318 MB / 461.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003636/0.271, allocations: 2.486 MB / 463.8 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/0.2712, allocations: 246.3 kB / 464 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004677/0.2716, allocations: 319.9 kB / 464.3 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006588/0.2782, allocations: 4.288 MB / 468.6 MB, free: 6.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.327e-05/0.2783, allocations: 7.906 kB / 468.6 MB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002971/0.2786, allocations: 128 kB / 468.7 MB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001417/0.2788, allocations: 158.4 kB / 468.9 MB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005681/0.2844, allocations: 3.625 MB / 472.5 MB, free: 2.621 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0171/0.3016, allocations: 13.34 MB / 485.9 MB, free: 4.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006828/0.3084, allocations: 7.234 MB / 493.1 MB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002845/0.3113, allocations: 1.64 MB / 494.7 MB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006043/0.3173, allocations: 4.303 MB / 499 MB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001303/0.3186, allocations: 0.8688 MB / 499.9 MB, free: 5.742 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 2.786e-06/0.3187, allocations: 0 / 499.9 MB, free: 5.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01188/0.3305, allocations: 6.704 MB / 0.4947 GB, free: 14.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.3307, allocations: 226.9 kB / 0.4949 GB, free: 14.56 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002385/0.333, allocations: 1.928 MB / 0.4968 GB, free: 12.58 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.179e-05/0.3331, allocations: 53.7 kB / 0.4969 GB, free: 12.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001047/0.3342, allocations: 1.498 MB / 0.4983 GB, free: 11.01 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003475/0.3346, allocations: 485 kB / 0.4988 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004624/0.335, allocations: 307.3 kB / 0.4991 GB, free: 10.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.873e-05/0.3351, allocations: 313.1 kB / 0.4994 GB, free: 9.918 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.3362, allocations: 0.6715 MB / 0.5001 GB, free: 9.246 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.3377, allocations: 1.225 MB / 0.5012 GB, free: 7.801 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002606/0.3403, allocations: 1.962 MB / 0.5032 GB, free: 5.633 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.3403, allocations: 7.938 kB / 0.5032 GB, free: 5.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003848/0.3442, allocations: 2.507 MB / 0.5056 GB, free: 3.078 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3442, allocations: 12 kB / 0.5056 GB, free: 3.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.3442, allocations: 20.27 kB / 0.5056 GB, free: 3.047 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008064/0.345, allocations: 339.2 kB / 0.506 GB, free: 2.703 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.3464, allocations: 375.4 kB / 0.5063 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006314/0.3527, allocations: 6.79 MB / 0.513 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.3538, allocations: 91.86 kB / 0.5131 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.354, allocations: 71.98 kB / 0.5131 GB, free: 10.96 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.001296/0.3553, allocations: 1.036 MB / 0.5141 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/0.3555, allocations: 205.5 kB / 0.5143 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003959/0.3595, allocations: 2.352 MB / 0.5166 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.3595, allocations: 11.91 kB / 0.5166 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3595, allocations: 192 / 0.5166 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006162/0.3602, allocations: 434.5 kB / 0.517 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002543/0.3604, allocations: 36 kB / 0.5171 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008143/0.3612, allocations: 64.14 kB / 0.5171 GB, free: 6.742 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.3615, allocations: 121 kB / 0.5173 GB, free: 6.621 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004432/0.3659, allocations: 2.207 MB / 0.5194 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003548/0.3695, allocations: 2.562 MB / 0.5219 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00101/0.3705, allocations: 0.7129 MB / 0.5226 GB, free: 1.098 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001712/0.3722, allocations: 1.339 MB / 0.5239 GB, free: 15.73 MB / 462.1 MB Notification: Performance of Backend: time 2.7e-07/0.3722, allocations: 0 / 0.5239 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004133/0.3764, allocations: 2.254 MB / 0.5261 GB, free: 13.58 MB / 462.1 MB Notification: Performance of SimCode: time 0.008774/0.3852, allocations: 6.507 MB / 0.5325 GB, free: 7.027 MB / 462.1 MB Notification: Performance of Templates: time 0.1832/0.5684, allocations: 34.64 MB / 0.5663 GB, free: 108.3 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)