Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=400000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009111/0.0009112, allocations: 94.17 kB / 16.3 MB, free: 5.656 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.000933/0.0009332, allocations: 182.5 kB / 17.2 MB, free: 5.59 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.514/1.514, allocations: 205.4 MB / 223.3 MB, free: 13.18 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.0006039/0.000604, allocations: 12 kB / 280.1 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1397, allocations: 47.58 MB / 327.7 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.04151/0.1812, allocations: 27.28 MB / 355 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02678/0.2081, allocations: 9.191 MB / 364.2 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009545/0.2177, allocations: 199.2 kB / 364.4 MB, free: 15.3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01011/0.2278, allocations: 1.936 MB / 366.3 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0181/0.246, allocations: 3.264 MB / 369.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009294/0.2553, allocations: 1.59 MB / 371.2 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2887/0.544, allocations: 11.64 MB / 382.8 MB, free: 14.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03896/0.583, allocations: 17.51 MB / 400.3 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009198/0.5923, allocations: 4.559 MB / 404.9 MB, free: 11.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009337/0.6016, allocations: 5.072 MB / 410 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004021/0.6057, allocations: 0.7327 MB / 410.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006142/0.6119, allocations: 1.05 MB / 411.7 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003624/0.6155, allocations: 2.343 MB / 414.1 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005951/0.6215, allocations: 2.446 MB / 416.5 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02204/0.6435, allocations: 21.21 MB / 437.7 MB, free: 7.684 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.6436, allocations: 4 kB / 437.7 MB, free: 7.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.6436, allocations: 0 / 437.7 MB, free: 7.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0009975/0.6446, allocations: 0 / 437.7 MB, free: 7.68 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: 3076 * Number of variables: 3076 Notification: Performance of Generate backend data structure: time 0.03964/0.6842, allocations: 12.62 MB / 450.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.6843, allocations: 12.03 kB / 450.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04452/0.7288, allocations: 7.66 MB / 458 MB, free: 5.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01853/0.7474, allocations: 7.272 MB / 465.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009933/0.7484, allocations: 0.8208 MB / 466.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004389/0.7528, allocations: 1.088 MB / 467.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04893/0.8018, allocations: 17.69 MB / 484.9 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006683/0.8025, allocations: 15.81 kB / 484.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004381/0.8069, allocations: 463.5 kB / 485.4 MB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008299/0.8077, allocations: 0.6674 MB / 486 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04654/0.8543, allocations: 16.98 MB / 0.4912 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4962/1.351, allocations: 56.87 MB / 0.5468 GB, free: 95.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02776/1.378, allocations: 42.37 MB / 0.5881 GB, free: 59.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0257/1.404, allocations: 13.32 MB / 0.6011 GB, free: 56.39 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00373/1.408, allocations: 3.13 MB / 0.6042 GB, free: 55.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=444): time 5.671e-06/1.408, allocations: 0 / 0.6042 GB, free: 55.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=462): time 0.04579/1.454, allocations: 23.21 MB / 0.6269 GB, free: 42.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/1.454, allocations: 413.3 kB / 0.6273 GB, free: 42.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006862/1.461, allocations: 4.621 MB / 0.6318 GB, free: 39.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001016/1.462, allocations: 105.3 kB / 0.6319 GB, free: 39.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003963/1.466, allocations: 4.878 MB / 0.6366 GB, free: 35.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001847/1.468, allocations: 1.581 MB / 0.6382 GB, free: 33.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003975/1.468, allocations: 129.7 kB / 0.6383 GB, free: 33.83 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002993/1.468, allocations: 0.5552 MB / 0.6388 GB, free: 33.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00394/1.472, allocations: 2.914 MB / 0.6417 GB, free: 31.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00509/1.477, allocations: 5.293 MB / 0.6469 GB, free: 24.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005364/1.483, allocations: 4.03 MB / 0.6508 GB, free: 20.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.484e-05/1.483, allocations: 20 kB / 0.6508 GB, free: 20.63 MB / 430.1 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.01685/1.5, allocations: 9.928 MB / 0.6605 GB, free: 10.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.84e-05/1.5, allocations: 37.62 kB / 0.6605 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/1.5, allocations: 83.83 kB / 0.6606 GB, free: 10.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003727/1.504, allocations: 1.5 MB / 0.6621 GB, free: 9.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005518/1.509, allocations: 1.421 MB / 0.6635 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02077/1.53, allocations: 16.66 MB / 0.6797 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006186/1.536, allocations: 375.5 kB / 0.6801 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001655/1.538, allocations: 308 kB / 0.6804 GB, free: 5.621 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 334 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (735): * Single equations (assignments): 729 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 4,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0102/1.548, allocations: 3.97 MB / 0.6843 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001984/1.55, allocations: 0.5055 MB / 0.6848 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01585/1.566, allocations: 8.07 MB / 0.6927 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.824e-05/1.566, allocations: 48 kB / 0.6927 GB, free: 8.918 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.538e-05/1.566, allocations: 16 kB / 0.6927 GB, free: 8.902 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.493e-05/1.566, allocations: 27.91 kB / 0.6927 GB, free: 8.875 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2566/1.823, allocations: 17.69 MB / 0.71 GB, free: 138 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/1.823, allocations: 8.328 kB / 0.71 GB, free: 138 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003696/1.827, allocations: 0.7753 MB / 0.7108 GB, free: 137.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004457/1.831, allocations: 1.558 MB / 0.7123 GB, free: 137.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008421/1.832, allocations: 111 kB / 0.7124 GB, free: 137.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0203/1.852, allocations: 19.94 MB / 0.7319 GB, free: 124.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.852, allocations: 3.906 kB / 0.7319 GB, free: 124.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01834/1.871, allocations: 12.16 MB / 0.7438 GB, free: 119 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004372/1.875, allocations: 1.173 MB / 0.7449 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002306/1.877, allocations: 94.75 kB / 0.745 GB, free: 118.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003821/1.881, allocations: 244.8 kB / 0.7452 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001244/1.882, allocations: 349.1 kB / 0.7456 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003545/1.883, allocations: 137.6 kB / 0.7457 GB, free: 118.4 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.006699/1.89, allocations: 3.122 MB / 0.7487 GB, free: 117.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.7e-07/1.89, allocations: 2.188 kB / 0.7488 GB, free: 117.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01014/1.9, allocations: 1.919 MB / 0.7506 GB, free: 117 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.zeroInductor.i0,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.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 (406): * Single equations (assignments): 397 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(14,40.3%) 44,(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002171/1.902, allocations: 0.5789 MB / 0.7512 GB, free: 116.6 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01461/1.917, allocations: 8.3 MB / 0.7593 GB, free: 113.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.917, allocations: 0 / 0.7593 GB, free: 113.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00812/1.925, allocations: 4.721 MB / 0.7639 GB, free: 109.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006349/1.931, allocations: 1.214 MB / 0.7651 GB, free: 108.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04031/1.971, allocations: 23.75 MB / 0.7883 GB, free: 86.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008502/1.98, allocations: 7.099 MB / 0.7952 GB, free: 79.13 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.006399/1.986, allocations: 1.937 MB / 0.7971 GB, free: 77.19 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001186/1.988, allocations: 403.4 kB / 0.7975 GB, free: 76.8 MB / 462.1 MB Notification: Performance of SimCode: time 9.92e-07/1.988, allocations: 3.938 kB / 0.7975 GB, free: 76.8 MB / 462.1 MB Notification: Performance of Templates: time 0.2915/2.279, allocations: 80.24 MB / 0.8759 GB, free: 137.1 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) Environment - environmentSimulation: