Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_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.1_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.001242/0.001242, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001336/0.001336, allocations: 194.5 kB / 16.14 MB, free: 6.668 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.548/1.548, allocations: 205.1 MB / 222 MB, free: 4.711 MB / 174.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.001227/0.001227, allocations: 48.41 kB / 278.1 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2927, allocations: 46.62 MB / 324.7 MB, free: 1.953 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03845/0.3312, allocations: 33.48 MB / 358.2 MB, free: 2.551 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02443/0.3557, allocations: 9.466 MB / 367.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01006/0.3658, allocations: 203.2 kB / 367.8 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01988/0.3857, allocations: 7.65 MB / 375.5 MB, free: 1.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01551/0.4012, allocations: 3.48 MB / 379 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008317/0.4096, allocations: 2.14 MB / 381.1 MB, free: 11.54 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02123/0.4308, allocations: 13.67 MB / 394.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03415/0.465, allocations: 18.33 MB / 413.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01206/0.4771, allocations: 5.623 MB / 418.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01307/0.4902, allocations: 6.998 MB / 425.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005211/0.4955, allocations: 1.164 MB / 426.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007672/0.5032, allocations: 1.566 MB / 428.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005814/0.509, allocations: 3.08 MB / 431.6 MB, free: 8.844 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01507/0.5241, allocations: 6.499 MB / 438.1 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4127/0.9368, allocations: 24.66 MB / 462.7 MB, free: 43.9 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.9369, allocations: 1.656 kB / 462.7 MB, free: 43.9 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.9369, allocations: 0 / 462.7 MB, free: 43.9 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00088/0.9378, allocations: 0.5 kB / 462.7 MB, free: 43.9 MB / 382.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.049/0.9868, allocations: 15.05 MB / 477.8 MB, free: 40.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.9869, allocations: 7.219 kB / 477.8 MB, free: 40.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04247/1.029, allocations: 7.711 MB / 485.5 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01886/1.048, allocations: 7.327 MB / 492.8 MB, free: 35.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000923/1.049, allocations: 0.8248 MB / 493.6 MB, free: 35.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00631/1.056, allocations: 1.087 MB / 494.7 MB, free: 35.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05446/1.11, allocations: 17.88 MB / 0.5006 GB, free: 18.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001007/1.111, allocations: 15.81 kB / 0.5006 GB, free: 18.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006568/1.118, allocations: 460.7 kB / 0.501 GB, free: 18.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005914/1.118, allocations: 0.675 MB / 0.5017 GB, free: 17.87 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03564/1.154, allocations: 17.04 MB / 0.5183 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1103/1.264, allocations: 56.82 MB / 0.5738 GB, free: 7.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03348/1.298, allocations: 42.42 MB / 0.6152 GB, free: 9.094 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008284/1.306, allocations: 4.61 MB / 0.6198 GB, free: 4.469 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2365/1.543, allocations: 13.19 MB / 0.6326 GB, free: 189.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003918/1.547, allocations: 3.103 MB / 0.6357 GB, free: 188.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=434): time 7.975e-06/1.547, allocations: 0 / 0.6357 GB, free: 188.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=452): time 0.04753/1.594, allocations: 23.47 MB / 0.6586 GB, free: 179 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/1.594, allocations: 418.3 kB / 0.659 GB, free: 178.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00653/1.601, allocations: 4.722 MB / 0.6636 GB, free: 174.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009204/1.602, allocations: 101.7 kB / 0.6637 GB, free: 174.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003642/1.606, allocations: 4.887 MB / 0.6685 GB, free: 170.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001819/1.607, allocations: 1.558 MB / 0.67 GB, free: 169 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00177/1.609, allocations: 1.195 MB / 0.6711 GB, free: 167.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.196e-05/1.609, allocations: 305.1 kB / 0.6714 GB, free: 167.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003829/1.613, allocations: 2.885 MB / 0.6743 GB, free: 165.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005039/1.618, allocations: 5.307 MB / 0.6794 GB, free: 159.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/1.629, allocations: 8.68 MB / 0.6879 GB, free: 150.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.006e-05/1.629, allocations: 20 kB / 0.6879 GB, free: 150.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01864/1.648, allocations: 9.9 MB / 0.6976 GB, free: 140.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.852e-05/1.648, allocations: 37.31 kB / 0.6976 GB, free: 140.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001465/1.648, allocations: 72 kB / 0.6977 GB, free: 140 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003863/1.652, allocations: 1.5 MB / 0.6992 GB, free: 138.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005555/1.658, allocations: 1.404 MB / 0.7005 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0172/1.675, allocations: 16.34 MB / 0.7165 GB, free: 120.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0059/1.681, allocations: 359.6 kB / 0.7168 GB, free: 119.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001256/1.682, allocations: 304 kB / 0.7171 GB, free: 119.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 336 * 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 (727): * Single equations (assignments): 721 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 5 systems {(1,4,100.0%), (1,5,100.0%), (1,13,100.0%), (1,4,100.0%), (14,44,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008173/1.69, allocations: 3.974 MB / 0.721 GB, free: 115.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001978/1.692, allocations: 0.5132 MB / 0.7215 GB, free: 114.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01641/1.709, allocations: 7.964 MB / 0.7293 GB, free: 106.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.83e-05/1.709, allocations: 48 kB / 0.7293 GB, free: 106.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.431e-05/1.709, allocations: 19.83 kB / 0.7294 GB, free: 106.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.131e-05/1.709, allocations: 23.91 kB / 0.7294 GB, free: 106.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03237/1.741, allocations: 17.53 MB / 0.7465 GB, free: 89.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/1.741, allocations: 4 kB / 0.7465 GB, free: 89.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00307/1.745, allocations: 0.7567 MB / 0.7472 GB, free: 88.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003851/1.748, allocations: 1.559 MB / 0.7488 GB, free: 86.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006096/1.749, allocations: 116 kB / 0.7489 GB, free: 86.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02878/1.778, allocations: 19.56 MB / 0.768 GB, free: 66.26 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/1.778, allocations: 7.938 kB / 0.768 GB, free: 66.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02695/1.805, allocations: 11.47 MB / 0.7792 GB, free: 54.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004492/1.809, allocations: 1.154 MB / 0.7803 GB, free: 53.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002482/1.812, allocations: 103.9 kB / 0.7804 GB, free: 53.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005858/1.818, allocations: 231.8 kB / 0.7806 GB, free: 53.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00168/1.82, allocations: 339.9 kB / 0.781 GB, free: 52.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009424/1.82, allocations: 139.9 kB / 0.7811 GB, free: 52.67 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008857/1.829, allocations: 3.205 MB / 0.7842 GB, free: 49.47 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.91e-07/1.829, allocations: 4 kB / 0.7842 GB, free: 49.46 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01344/1.843, allocations: 1.91 MB / 0.7861 GB, free: 47.56 MB / 494.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 (396): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,3,100.0%), (14,44,41.8%), (1,5,100.0%), (1,13,100.0%), (1,3,100.0%), (1,8,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.003591/1.847, allocations: 0.5824 MB / 0.7867 GB, free: 46.99 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.024/1.871, allocations: 8.218 MB / 0.7947 GB, free: 38.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/1.871, allocations: 0 / 0.7947 GB, free: 38.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01191/1.883, allocations: 4.648 MB / 0.7992 GB, free: 33.97 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0121/1.895, allocations: 1.28 MB / 0.8005 GB, free: 32.69 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2573/2.152, allocations: 24.69 MB / 0.8246 GB, free: 169.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01195/2.164, allocations: 6.917 MB / 0.8313 GB, free: 168.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.008804/2.173, allocations: 1.927 MB / 0.8332 GB, free: 168.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002523/2.175, allocations: 402.5 kB / 0.8336 GB, free: 168.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.573e-06/2.175, allocations: 0 / 0.8336 GB, free: 168.6 MB / 494.1 MB Notification: Performance of Templates: time 0.1402/2.316, allocations: 83.79 MB / 0.9154 GB, free: 96.7 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1)