Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00192/0.00192, allocations: 184.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 106.2 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 47.92 kB / 350.1 MB, free: 40 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2806, allocations: 49.43 MB / 399.5 MB, free: 33.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.027/0.3076, allocations: 33.4 MB / 432.9 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02207/0.3298, allocations: 9.556 MB / 442.4 MB, free: 6.254 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009414/0.3392, allocations: 235.2 kB / 442.7 MB, free: 6.023 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01999/0.3594, allocations: 7.642 MB / 450.3 MB, free: 14.37 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01413/0.3735, allocations: 3.431 MB / 453.7 MB, free: 10.92 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007803/0.3813, allocations: 2.122 MB / 455.9 MB, free: 8.809 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.02029/0.4016, allocations: 13.65 MB / 469.5 MB, free: 11.11 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03396/0.4356, allocations: 18.37 MB / 487.9 MB, free: 8.586 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01452/0.4502, allocations: 5.592 MB / 493.5 MB, free: 2.977 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01415/0.4644, allocations: 6.897 MB / 0.4887 GB, free: 12.05 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005532/0.47, allocations: 1.164 MB / 0.4898 GB, free: 10.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009585/0.4796, allocations: 1.566 MB / 0.4913 GB, free: 9.324 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006682/0.4863, allocations: 3.038 MB / 0.4943 GB, free: 6.277 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.3853/0.8717, allocations: 6.419 MB / 0.5006 GB, free: 41.63 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04594/0.9177, allocations: 24.6 MB / 0.5246 GB, free: 36.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.848e-06/0.9178, allocations: 0 / 0.5246 GB, free: 36.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.9178, allocations: 0 / 0.5246 GB, free: 36.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0009434/0.9187, allocations: 0.9375 kB / 0.5246 GB, free: 36.22 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.08612/1.005, allocations: 14.87 MB / 0.5391 GB, free: 29.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/1.005, allocations: 7.719 kB / 0.5391 GB, free: 29.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03686/1.042, allocations: 6.716 MB / 0.5457 GB, free: 26.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02007/1.062, allocations: 7.891 MB / 0.5534 GB, free: 20.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007685/1.063, allocations: 0.8138 MB / 0.5542 GB, free: 19.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006285/1.069, allocations: 1.072 MB / 0.5552 GB, free: 18.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05171/1.121, allocations: 17.42 MB / 0.5722 GB, free: 1.023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006386/1.121, allocations: 15.89 kB / 0.5722 GB, free: 1.008 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004922/1.126, allocations: 452.6 kB / 0.5727 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006574/1.127, allocations: 0.6437 MB / 0.5733 GB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04147/1.169, allocations: 16.37 MB / 0.5893 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1271/1.296, allocations: 55.5 MB / 0.6435 GB, free: 7.875 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03113/1.327, allocations: 33.35 MB / 0.6761 GB, free: 3.219 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2485/1.575, allocations: 4.426 MB / 0.6804 GB, free: 174.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02671/1.602, allocations: 12.16 MB / 0.6923 GB, free: 171.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003962/1.606, allocations: 3.097 MB / 0.6953 GB, free: 170.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=434): time 6.493e-06/1.606, allocations: 0 / 0.6953 GB, free: 170.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=452): time 0.04773/1.654, allocations: 22.88 MB / 0.7176 GB, free: 158.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/1.654, allocations: 415.3 kB / 0.718 GB, free: 158.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007406/1.662, allocations: 4.567 MB / 0.7225 GB, free: 154.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001048/1.663, allocations: 101.7 kB / 0.7226 GB, free: 154.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004754/1.667, allocations: 4.75 MB / 0.7272 GB, free: 150 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002316/1.67, allocations: 1.55 MB / 0.7287 GB, free: 148.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002517/1.672, allocations: 1.131 MB / 0.7298 GB, free: 147.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.998e-05/1.672, allocations: 301.1 kB / 0.7301 GB, free: 147.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004788/1.677, allocations: 2.829 MB / 0.7329 GB, free: 144.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005879/1.683, allocations: 5.016 MB / 0.7378 GB, free: 139.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009784/1.693, allocations: 8.303 MB / 0.7459 GB, free: 130 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.108e-05/1.693, allocations: 16 kB / 0.7459 GB, free: 130 MB / 490.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.01635/1.709, allocations: 9.575 MB / 0.7553 GB, free: 120.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/1.709, allocations: 35.94 kB / 0.7553 GB, free: 120.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-05/1.71, allocations: 67.94 kB / 0.7554 GB, free: 120.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003899/1.713, allocations: 1.482 MB / 0.7568 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006008/1.719, allocations: 1.33 MB / 0.7581 GB, free: 117.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01962/1.739, allocations: 16.29 MB / 0.774 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006515/1.746, allocations: 363.5 kB / 0.7744 GB, free: 100.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001601/1.747, allocations: 284 kB / 0.7746 GB, free: 99.87 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.008943/1.756, allocations: 3.905 MB / 0.7784 GB, free: 95.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001894/1.758, allocations: 0.5018 MB / 0.7789 GB, free: 95.45 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/1.773, allocations: 7.953 MB / 0.7867 GB, free: 87.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.571e-05/1.773, allocations: 44 kB / 0.7867 GB, free: 87.37 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.951e-05/1.773, allocations: 23.84 kB / 0.7868 GB, free: 87.35 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.191e-05/1.773, allocations: 23.91 kB / 0.7868 GB, free: 87.32 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03642/1.81, allocations: 17.46 MB / 0.8038 GB, free: 69.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.23e-05/1.81, allocations: 8 kB / 0.8038 GB, free: 69.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003555/1.813, allocations: 0.7572 MB / 0.8046 GB, free: 69.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00404/1.817, allocations: 1.55 MB / 0.8061 GB, free: 67.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008107/1.818, allocations: 119.9 kB / 0.8062 GB, free: 67.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01855/1.837, allocations: 19.56 MB / 0.8253 GB, free: 46.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/1.837, allocations: 15.94 kB / 0.8253 GB, free: 46.83 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3615/2.198, allocations: 58.74 MB / 0.8827 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002945/2.201, allocations: 1.14 MB / 0.8838 GB, free: 140.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007584/2.202, allocations: 106.1 kB / 0.8839 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002568/2.205, allocations: 233.1 kB / 0.8841 GB, free: 140.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008564/2.205, allocations: 337.7 kB / 0.8845 GB, free: 140.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002786/2.206, allocations: 137.9 kB / 0.8846 GB, free: 140.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006485/2.212, allocations: 3.123 MB / 0.8876 GB, free: 139.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.51e-07/2.212, allocations: 0 / 0.8876 GB, free: 139.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01468/2.227, allocations: 2.377 MB / 0.89 GB, free: 139 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.3%), (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.002108/2.229, allocations: 0.5825 MB / 0.8905 GB, free: 138.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01358/2.243, allocations: 8.069 MB / 0.8984 GB, free: 135.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/2.243, allocations: 3.609 kB / 0.8984 GB, free: 135.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007699/2.25, allocations: 4.646 MB / 0.9029 GB, free: 133 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006952/2.257, allocations: 1.263 MB / 0.9042 GB, free: 132.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04282/2.3, allocations: 28.82 MB / 0.9323 GB, free: 107.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01134/2.312, allocations: 6.988 MB / 0.9391 GB, free: 101.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006986/2.319, allocations: 1.869 MB / 0.941 GB, free: 100.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001819/2.321, allocations: 401.8 kB / 0.9414 GB, free: 100.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.432e-06/2.321, allocations: 0 / 0.9414 GB, free: 100.2 MB / 490.7 MB Notification: Performance of Templates: time 0.3619/2.682, allocations: 96.67 MB / 1.036 GB, free: 146 MB / 490.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1)