Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|mass.s|mass.v|massQS.s|massQS.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|mass.s|mass.v|massQS.s|massQS.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00171/0.00171, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001048/0.001048, allocations: 102.2 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009429/0.000943, allocations: 47.86 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2145, allocations: 50.46 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.029/0.2436, allocations: 34 MB / 441.1 MB, free: 9.688 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01981/0.2634, allocations: 9.905 MB / 451 MB, free: 15.76 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00738/0.2708, allocations: 239.2 kB / 451.2 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01915/0.29, allocations: 7.674 MB / 458.9 MB, free: 7.836 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01224/0.3023, allocations: 3.466 MB / 462.4 MB, free: 4.359 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007013/0.3093, allocations: 2.161 MB / 464.5 MB, free: 2.215 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01799/0.3274, allocations: 13.84 MB / 478.4 MB, free: 4.328 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03475/0.3621, allocations: 18.37 MB / 496.7 MB, free: 1.797 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009639/0.3718, allocations: 5.607 MB / 0.4906 GB, free: 12.17 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01174/0.3836, allocations: 6.897 MB / 0.4973 GB, free: 5.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005701/0.3894, allocations: 1.168 MB / 0.4984 GB, free: 4.082 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006471/0.3959, allocations: 1.593 MB / 0.5 GB, free: 2.488 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.2741/0.67, allocations: 3.029 MB / 0.503 GB, free: 30.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01878/0.6889, allocations: 6.431 MB / 0.5092 GB, free: 30.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03633/0.7253, allocations: 24.65 MB / 0.5333 GB, free: 23.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-05/0.7254, allocations: 0 / 0.5333 GB, free: 23.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.7254, allocations: 0 / 0.5333 GB, free: 23.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.001005/0.7264, allocations: 0 / 0.5333 GB, free: 23.55 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3019 * Number of variables: 3019 Notification: Performance of Generate backend data structure: time 0.05229/0.7787, allocations: 14.91 MB / 0.5479 GB, free: 14.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.7787, allocations: 10.84 kB / 0.5479 GB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0352/0.814, allocations: 6.736 MB / 0.5545 GB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01597/0.83, allocations: 7.906 MB / 0.5622 GB, free: 5.926 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005152/0.8305, allocations: 0.818 MB / 0.563 GB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00408/0.8346, allocations: 1.081 MB / 0.564 GB, free: 4.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0443/0.8789, allocations: 17.41 MB / 0.581 GB, free: 2.617 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004983/0.8794, allocations: 15.89 kB / 0.581 GB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004194/0.8837, allocations: 453.4 kB / 0.5815 GB, free: 2.172 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007045/0.8844, allocations: 0.6358 MB / 0.5821 GB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03574/0.9201, allocations: 16.37 MB / 0.5981 GB, free: 1.164 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1054/1.026, allocations: 55.96 MB / 0.6527 GB, free: 8.941 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2264/1.252, allocations: 33.7 MB / 0.6856 GB, free: 152.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008207/1.26, allocations: 4.46 MB / 0.69 GB, free: 152.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02394/1.284, allocations: 12.45 MB / 0.7022 GB, free: 149.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00377/1.288, allocations: 3.094 MB / 0.7052 GB, free: 148.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=434): time 6.041e-06/1.288, allocations: 0 / 0.7052 GB, free: 148.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=452): time 0.0461/1.334, allocations: 23.47 MB / 0.7281 GB, free: 137.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/1.334, allocations: 411.4 kB / 0.7285 GB, free: 137.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006145/1.34, allocations: 4.601 MB / 0.733 GB, free: 133.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007953/1.341, allocations: 97.7 kB / 0.7331 GB, free: 133.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00337/1.345, allocations: 4.765 MB / 0.7377 GB, free: 129.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001376/1.346, allocations: 1.553 MB / 0.7392 GB, free: 127.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001584/1.348, allocations: 1.127 MB / 0.7403 GB, free: 126.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.03e-05/1.348, allocations: 305.1 kB / 0.7406 GB, free: 126.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003581/1.351, allocations: 2.829 MB / 0.7434 GB, free: 123.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0045/1.356, allocations: 5.018 MB / 0.7483 GB, free: 118.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008569/1.364, allocations: 8.304 MB / 0.7564 GB, free: 109 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.212e-05/1.364, allocations: 20 kB / 0.7564 GB, free: 108.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01401/1.378, allocations: 9.583 MB / 0.7658 GB, free: 99.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.305e-05/1.379, allocations: 32.19 kB / 0.7658 GB, free: 99.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001011/1.379, allocations: 68 kB / 0.7659 GB, free: 99.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003646/1.382, allocations: 1.482 MB / 0.7673 GB, free: 97.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004982/1.387, allocations: 1.326 MB / 0.7686 GB, free: 96.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01627/1.404, allocations: 16.32 MB / 0.7846 GB, free: 79.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005309/1.409, allocations: 347.6 kB / 0.7849 GB, free: 79.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001279/1.41, allocations: 288 kB / 0.7852 GB, free: 78.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 297 * 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 (688): * Single equations (assignments): 682 * 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.008371/1.419, allocations: 3.913 MB / 0.789 GB, free: 74.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001499/1.42, allocations: 0.4978 MB / 0.7895 GB, free: 74.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01603/1.436, allocations: 7.953 MB / 0.7972 GB, free: 66.34 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.24e-05/1.436, allocations: 47.84 kB / 0.7973 GB, free: 66.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.475e-05/1.436, allocations: 23.94 kB / 0.7973 GB, free: 66.28 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.275e-05/1.436, allocations: 23.92 kB / 0.7973 GB, free: 66.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03286/1.469, allocations: 17.48 MB / 0.8144 GB, free: 48.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/1.469, allocations: 11.94 kB / 0.8144 GB, free: 48.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003286/1.473, allocations: 0.7528 MB / 0.8151 GB, free: 47.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004441/1.477, allocations: 1.572 MB / 0.8167 GB, free: 46.33 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009451/1.478, allocations: 112 kB / 0.8168 GB, free: 46.22 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01834/1.496, allocations: 19.56 MB / 0.8359 GB, free: 25.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/1.496, allocations: 11.78 kB / 0.8359 GB, free: 25.74 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2814/1.778, allocations: 58.74 MB / 0.8933 GB, free: 132.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002881/1.781, allocations: 1.145 MB / 0.8944 GB, free: 131.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009648/1.782, allocations: 99.7 kB / 0.8945 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002604/1.784, allocations: 236.9 kB / 0.8947 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007198/1.785, allocations: 334.3 kB / 0.895 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002737/1.785, allocations: 138.8 kB / 0.8952 GB, free: 131.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003949/1.789, allocations: 3.139 MB / 0.8982 GB, free: 130.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.21e-07/1.789, allocations: 0 / 0.8982 GB, free: 130.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007875/1.797, allocations: 2.388 MB / 0.9006 GB, free: 130.1 MB / 490.7 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.001682/1.799, allocations: 0.5804 MB / 0.9011 GB, free: 129.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01199/1.811, allocations: 8.062 MB / 0.909 GB, free: 126.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.811, allocations: 0 / 0.909 GB, free: 126.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006558/1.818, allocations: 4.664 MB / 0.9136 GB, free: 124 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005683/1.823, allocations: 1.274 MB / 0.9148 GB, free: 123.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04015/1.863, allocations: 28.85 MB / 0.943 GB, free: 96.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01072/1.874, allocations: 6.997 MB / 0.9498 GB, free: 91.34 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006289/1.88, allocations: 1.865 MB / 0.9516 GB, free: 90.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001411/1.882, allocations: 409.7 kB / 0.952 GB, free: 89.66 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/1.882, allocations: 0 / 0.952 GB, free: 89.66 MB / 490.7 MB Notification: Performance of Templates: time 0.3436/2.226, allocations: 97.16 MB / 1.047 GB, free: 129.7 MB / 490.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1)