Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001334/0.001334, allocations: 183 kB / 17.91 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.176/1.176, allocations: 205.1 MB / 223.7 MB, free: 8.5 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000879/0.000879, allocations: 100.2 kB / 271.2 MB, free: 8.469 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007722/0.0007723, allocations: 40.03 kB / 327.2 MB, free: 332 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1864, allocations: 46.62 MB / 373.9 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.02318/0.2096, allocations: 33.48 MB / 407.3 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0161/0.2258, allocations: 9.468 MB / 416.8 MB, free: 6.445 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005875/0.2317, allocations: 203.2 kB / 417 MB, free: 6.246 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01422/0.2459, allocations: 7.651 MB / 424.6 MB, free: 14.58 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01095/0.2569, allocations: 3.482 MB / 428.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006441/0.2634, allocations: 2.142 MB / 430.3 MB, free: 8.945 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0171/0.2805, allocations: 13.86 MB / 444.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02835/0.3089, allocations: 18.33 MB / 462.5 MB, free: 8.555 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008435/0.3173, allocations: 5.65 MB / 468.1 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009699/0.3271, allocations: 6.991 MB / 475.1 MB, free: 11.87 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003929/0.331, allocations: 1.168 MB / 476.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006042/0.3371, allocations: 1.562 MB / 477.8 MB, free: 9.141 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005511/0.3426, allocations: 3.084 MB / 480.9 MB, free: 6.047 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01144/0.3541, allocations: 6.495 MB / 487.4 MB, free: 15.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2956/0.6497, allocations: 24.67 MB / 0.5001 GB, free: 43.92 MB / 378.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.6498, allocations: 0.875 kB / 0.5001 GB, free: 43.92 MB / 378.8 MB Notification: Performance of FrontEnd: time 1.482e-06/0.6498, allocations: 0 / 0.5001 GB, free: 43.92 MB / 378.8 MB Notification: Performance of Transformations before backend: time 0.0005256/0.6503, allocations: 0 / 0.5001 GB, free: 43.92 MB / 378.8 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.04058/0.6909, allocations: 15.05 MB / 0.5148 GB, free: 38.55 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.6909, allocations: 13.38 kB / 0.5148 GB, free: 38.55 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03707/0.728, allocations: 7.705 MB / 0.5223 GB, free: 35.61 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01512/0.7432, allocations: 7.323 MB / 0.5295 GB, free: 33.59 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005657/0.7438, allocations: 0.8226 MB / 0.5303 GB, free: 33.56 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00406/0.7478, allocations: 1.092 MB / 0.5313 GB, free: 33.33 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03567/0.7835, allocations: 17.88 MB / 0.5488 GB, free: 16.14 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002729/0.7838, allocations: 15.8 kB / 0.5488 GB, free: 16.12 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001922/0.7858, allocations: 464.6 kB / 0.5493 GB, free: 15.69 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004242/0.7862, allocations: 0.6636 MB / 0.5499 GB, free: 15.02 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0275/0.8137, allocations: 17.05 MB / 0.5665 GB, free: 13.97 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09228/0.906, allocations: 56.82 MB / 0.622 GB, free: 4.969 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02962/0.9357, allocations: 42.41 MB / 0.6635 GB, free: 6.242 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006989/0.9427, allocations: 4.607 MB / 0.6679 GB, free: 1.621 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1703/1.113, allocations: 13.2 MB / 0.6808 GB, free: 185 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003826/1.117, allocations: 3.096 MB / 0.6839 GB, free: 183.7 MB / 490.8 MB Notification: Performance of pre-optimization done (n=434): time 5.641e-06/1.117, allocations: 0 / 0.6839 GB, free: 183.7 MB / 490.8 MB Notification: Performance of matching and sorting (n=452): time 0.04066/1.158, allocations: 23.48 MB / 0.7068 GB, free: 173.9 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.652e-05/1.158, allocations: 410.1 kB / 0.7072 GB, free: 173.5 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005257/1.163, allocations: 4.719 MB / 0.7118 GB, free: 170 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006745/1.164, allocations: 97.7 kB / 0.7119 GB, free: 169.9 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003245/1.167, allocations: 4.897 MB / 0.7167 GB, free: 165.6 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001265/1.168, allocations: 1.557 MB / 0.7182 GB, free: 164.2 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001458/1.17, allocations: 1.193 MB / 0.7194 GB, free: 163.1 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.974e-05/1.17, allocations: 312.6 kB / 0.7197 GB, free: 162.8 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003261/1.173, allocations: 2.887 MB / 0.7225 GB, free: 160.3 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004037/1.177, allocations: 5.299 MB / 0.7276 GB, free: 154.5 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007558/1.185, allocations: 8.684 MB / 0.7361 GB, free: 144.7 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.519e-05/1.185, allocations: 24 kB / 0.7361 GB, free: 144.7 MB / 490.8 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01256/1.197, allocations: 9.888 MB / 0.7458 GB, free: 134.8 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.354e-05/1.197, allocations: 36 kB / 0.7458 GB, free: 134.7 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.8e-05/1.197, allocations: 75.06 kB / 0.7459 GB, free: 134.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00327/1.201, allocations: 1.508 MB / 0.7474 GB, free: 133.1 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00438/1.205, allocations: 1.408 MB / 0.7488 GB, free: 131.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0147/1.22, allocations: 16.32 MB / 0.7647 GB, free: 114.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00485/1.225, allocations: 371.5 kB / 0.7651 GB, free: 114.4 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008996/1.226, allocations: 304 kB / 0.7653 GB, free: 114.1 MB / 490.8 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.00513/1.231, allocations: 3.965 MB / 0.7692 GB, free: 110.1 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009318/1.232, allocations: 0.5132 MB / 0.7697 GB, free: 109.6 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/1.243, allocations: 7.959 MB / 0.7775 GB, free: 101.6 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.207e-05/1.243, allocations: 48 kB / 0.7775 GB, free: 101.5 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.75e-05/1.243, allocations: 18.95 kB / 0.7776 GB, free: 101.5 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.133e-05/1.243, allocations: 23.91 kB / 0.7776 GB, free: 101.5 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02248/1.265, allocations: 17.54 MB / 0.7947 GB, free: 83.86 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/1.265, allocations: 11.94 kB / 0.7947 GB, free: 83.84 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00277/1.268, allocations: 0.7612 MB / 0.7955 GB, free: 83.08 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003549/1.272, allocations: 1.543 MB / 0.797 GB, free: 81.52 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004295/1.272, allocations: 116 kB / 0.7971 GB, free: 81.4 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01622/1.288, allocations: 19.57 MB / 0.8162 GB, free: 60.93 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.288, allocations: 4 kB / 0.8162 GB, free: 60.93 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2299/1.518, allocations: 58.79 MB / 0.8736 GB, free: 155.5 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002348/1.521, allocations: 1.158 MB / 0.8747 GB, free: 155 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006304/1.521, allocations: 99.16 kB / 0.8748 GB, free: 155 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002343/1.524, allocations: 233.4 kB / 0.875 GB, free: 154.9 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007607/1.524, allocations: 342.5 kB / 0.8754 GB, free: 154.9 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002814/1.525, allocations: 136.2 kB / 0.8755 GB, free: 154.8 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.004453/1.529, allocations: 3.198 MB / 0.8786 GB, free: 153.6 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.4e-07/1.529, allocations: 1.062 kB / 0.8786 GB, free: 153.6 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.008536/1.538, allocations: 2.425 MB / 0.881 GB, free: 153.4 MB / 490.8 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.001532/1.539, allocations: 0.5712 MB / 0.8815 GB, free: 153.1 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01114/1.55, allocations: 8.217 MB / 0.8896 GB, free: 149.6 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.55, allocations: 0 / 0.8896 GB, free: 149.6 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006276/1.557, allocations: 4.662 MB / 0.8941 GB, free: 147.2 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005528/1.562, allocations: 1.277 MB / 0.8954 GB, free: 146.8 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0333/1.596, allocations: 29.24 MB / 0.9239 GB, free: 124.4 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009728/1.605, allocations: 7.062 MB / 0.9308 GB, free: 119 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.005392/1.611, allocations: 1.94 MB / 0.9327 GB, free: 117.7 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/1.612, allocations: 415.7 kB / 0.9331 GB, free: 117.3 MB / 490.8 MB Notification: Performance of SimCode: time 6.11e-07/1.612, allocations: 0 / 0.9331 GB, free: 117.3 MB / 490.8 MB Notification: Performance of Templates: time 0.2814/1.893, allocations: 97.52 MB / 1.028 GB, free: 159.5 MB / 490.8 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1)