Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 107.2 kB / 18.4 MB, free: 4.625 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.001128/0.001128, allocations: 191.3 kB / 19.34 MB, free: 3.699 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.281/1.281, allocations: 205.1 MB / 225.2 MB, free: 12.21 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.001121/0.001121, allocations: 51.94 kB / 329.2 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07629/0.07742, allocations: 46.61 MB / 375.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor): time 0.1794/0.2569, allocations: 13.38 MB / 389.2 MB, free: 5.664 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007518/0.2645, allocations: 4.747 MB / 394 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002002/0.2665, allocations: 67.91 kB / 394 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002746/0.2693, allocations: 1.105 MB / 395.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003824/0.2731, allocations: 1.361 MB / 396.5 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.2754, allocations: 0.9809 MB / 397.5 MB, free: 464 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005222/0.2806, allocations: 4.059 MB / 401.5 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003768/0.2844, allocations: 3.204 MB / 404.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003101/0.2875, allocations: 1.927 MB / 406.7 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003627/0.2912, allocations: 2.161 MB / 408.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000992/0.2922, allocations: 0.5082 MB / 409.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001986/0.2942, allocations: 0.7525 MB / 410.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001055/0.2953, allocations: 1.138 MB / 411.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002475/0.2977, allocations: 2.146 MB / 413.4 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006337/0.3041, allocations: 6.783 MB / 420.2 MB, free: 3.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3041, allocations: 0 / 420.2 MB, free: 3.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3041, allocations: 4 kB / 420.2 MB, free: 3.285 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001201/0.3042, allocations: 0 / 420.2 MB, free: 3.285 MB / 334.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.01047/0.3147, allocations: 4.492 MB / 424.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3148, allocations: 12.03 kB / 424.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00413/0.3189, allocations: 0.8162 MB / 425.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003626/0.3225, allocations: 2.326 MB / 427.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.3227, allocations: 242.4 kB / 428 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004732/0.3232, allocations: 319.9 kB / 428.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00657/0.3298, allocations: 4.28 MB / 432.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.405e-05/0.3299, allocations: 8 kB / 432.6 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002914/0.3302, allocations: 132 kB / 432.8 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001522/0.3303, allocations: 158.4 kB / 432.9 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00594/0.3363, allocations: 3.617 MB / 436.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01779/0.3541, allocations: 13.25 MB / 449.8 MB, free: 5.113 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006163/0.3603, allocations: 6.962 MB / 456.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001975/0.3623, allocations: 1.363 MB / 458.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005567/0.3678, allocations: 3.817 MB / 461.9 MB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001217/0.3691, allocations: 0.8533 MB / 462.8 MB, free: 7.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 2.785e-06/0.3691, allocations: 0 / 462.8 MB, free: 7.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.01114/0.3802, allocations: 6.497 MB / 469.3 MB, free: 384 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.589e-05/0.3803, allocations: 226.9 kB / 469.5 MB, free: 108 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002336/0.3827, allocations: 1.914 MB / 471.4 MB, free: 14.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.911e-05/0.3828, allocations: 53.7 kB / 471.5 MB, free: 14.13 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.3839, allocations: 1.466 MB / 472.9 MB, free: 12.65 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.3842, allocations: 489 kB / 473.4 MB, free: 12.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004346/0.3847, allocations: 311.3 kB / 473.7 MB, free: 11.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.925e-05/0.3848, allocations: 305.1 kB / 474 MB, free: 11.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.3858, allocations: 0.6559 MB / 474.7 MB, free: 10.9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.3871, allocations: 1.222 MB / 475.9 MB, free: 9.453 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002409/0.3896, allocations: 1.936 MB / 477.8 MB, free: 7.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.3896, allocations: 8 kB / 477.8 MB, free: 7.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003545/0.3931, allocations: 2.42 MB / 480.3 MB, free: 4.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.3932, allocations: 12.28 kB / 480.3 MB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.3932, allocations: 20 kB / 480.3 MB, free: 4.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006666/0.3939, allocations: 287.2 kB / 480.6 MB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.3952, allocations: 379.4 kB / 480.9 MB, free: 4.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005259/0.4005, allocations: 6.379 MB / 487.3 MB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.4018, allocations: 83.95 kB / 487.4 MB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.4019, allocations: 87.98 kB / 487.5 MB, free: 13.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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.001544/0.4035, allocations: 1.031 MB / 488.5 MB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000272/0.4038, allocations: 197.6 kB / 488.7 MB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003663/0.4074, allocations: 2.257 MB / 491 MB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/0.4075, allocations: 7.969 kB / 491 MB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4075, allocations: 0 / 491 MB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006864/0.4082, allocations: 426.6 kB / 491.4 MB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000252/0.4084, allocations: 32 kB / 491.4 MB, free: 9.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007727/0.4092, allocations: 63.89 kB / 491.5 MB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.4094, allocations: 121.1 kB / 491.6 MB, free: 8.965 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004062/0.4135, allocations: 2.133 MB / 493.7 MB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003297/0.4168, allocations: 2.527 MB / 496.3 MB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009395/0.4177, allocations: 0.7051 MB / 497 MB, free: 3.559 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001723/0.4195, allocations: 1.315 MB / 498.3 MB, free: 2.254 MB / 414.1 MB Notification: Performance of Backend: time 2.51e-07/0.4195, allocations: 0 / 498.3 MB, free: 2.254 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004071/0.4236, allocations: 2.197 MB / 0.4888 GB, free: 15.99 MB / 430.1 MB Notification: Performance of SimCode: time 0.008661/0.4322, allocations: 6.449 MB / 0.4951 GB, free: 9.484 MB / 430.1 MB Notification: Performance of Templates: time 0.05427/0.4865, allocations: 34.38 MB / 0.5286 GB, free: 7.031 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor.pipe 2>&1)