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.001287/0.001287, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001204/0.001204, allocations: 195.5 kB / 16.25 MB, free: 6.621 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.521/1.521, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.001541/0.001542, allocations: 47.94 kB / 278.3 MB, free: 12.64 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.292, allocations: 46.63 MB / 324.9 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.03409/0.3262, allocations: 33.48 MB / 358.4 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02308/0.3493, allocations: 9.427 MB / 367.8 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009105/0.3584, allocations: 199.2 kB / 368 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01912/0.3776, allocations: 7.658 MB / 375.6 MB, free: 1.164 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01474/0.3924, allocations: 3.453 MB / 379.1 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007605/0.4, allocations: 2.124 MB / 381.2 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02058/0.4206, allocations: 13.46 MB / 394.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04158/0.4622, allocations: 25.31 MB / 420 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01236/0.4746, allocations: 6.615 MB / 426.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01429/0.4889, allocations: 7.502 MB / 434.1 MB, free: 6.434 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.008/0.4971, allocations: 1.906 MB / 436 MB, free: 4.527 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01133/0.5084, allocations: 2.308 MB / 438.3 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007374/0.5159, allocations: 3.85 MB / 442.2 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01634/0.5322, allocations: 7.268 MB / 449.4 MB, free: 7.062 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2509/0.7832, allocations: 25.17 MB / 474.6 MB, free: 52.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.7832, allocations: 0 / 474.6 MB, free: 52.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.7833, allocations: 0 / 474.6 MB, free: 52.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001086/0.7843, allocations: 0 / 474.6 MB, free: 52.06 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.05356/0.8379, allocations: 15.04 MB / 489.6 MB, free: 45.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.838, allocations: 7.719 kB / 489.6 MB, free: 45.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04159/0.8796, allocations: 7.708 MB / 497.4 MB, free: 42.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01632/0.8959, allocations: 7.331 MB / 0.4929 GB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000765/0.8967, allocations: 0.8261 MB / 0.4937 GB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005635/0.9024, allocations: 1.083 MB / 0.4947 GB, free: 36.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04915/0.9515, allocations: 17.88 MB / 0.5122 GB, free: 18.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000435/0.952, allocations: 19.47 kB / 0.5122 GB, free: 18.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005097/0.9571, allocations: 459.5 kB / 0.5126 GB, free: 18.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005869/0.9577, allocations: 0.6714 MB / 0.5133 GB, free: 17.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03582/0.9935, allocations: 17.05 MB / 0.5299 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1141/1.108, allocations: 56.82 MB / 0.5854 GB, free: 7.664 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2285/1.336, allocations: 42.41 MB / 0.6268 GB, free: 167 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008616/1.345, allocations: 4.603 MB / 0.6313 GB, free: 167 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0194/1.364, allocations: 13.2 MB / 0.6442 GB, free: 162.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003831/1.368, allocations: 3.096 MB / 0.6473 GB, free: 161.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=434): time 6.943e-06/1.368, allocations: 0.75 kB / 0.6473 GB, free: 161.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=452): time 0.04449/1.413, allocations: 23.47 MB / 0.6702 GB, free: 148.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/1.413, allocations: 415.3 kB / 0.6706 GB, free: 147.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006371/1.419, allocations: 4.723 MB / 0.6752 GB, free: 143.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008032/1.42, allocations: 101.7 kB / 0.6753 GB, free: 143.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004373/1.424, allocations: 4.893 MB / 0.6801 GB, free: 139.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001733/1.426, allocations: 1.549 MB / 0.6816 GB, free: 137.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001681/1.428, allocations: 1.194 MB / 0.6827 GB, free: 136.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.926e-05/1.428, allocations: 309 kB / 0.683 GB, free: 136.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003635/1.432, allocations: 2.89 MB / 0.6859 GB, free: 133.6 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004498/1.436, allocations: 5.303 MB / 0.691 GB, free: 127.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008858/1.445, allocations: 8.687 MB / 0.6995 GB, free: 117.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.882e-05/1.445, allocations: 20 kB / 0.6995 GB, free: 117.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=811) (initialization): time 0.01502/1.46, allocations: 9.895 MB / 0.7092 GB, free: 107.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.277e-05/1.46, allocations: 40 kB / 0.7092 GB, free: 107.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.493e-05/1.46, allocations: 72 kB / 0.7093 GB, free: 107.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003458/1.464, allocations: 1.502 MB / 0.7108 GB, free: 105.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005272/1.469, allocations: 1.4 MB / 0.7121 GB, free: 104.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/1.487, allocations: 17.64 MB / 0.7294 GB, free: 86.14 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006365/1.493, allocations: 367.5 kB / 0.7297 GB, free: 85.78 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001481/1.494, allocations: 308 kB / 0.73 GB, free: 85.48 MB / 478.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.009648/1.504, allocations: 3.981 MB / 0.7339 GB, free: 81.49 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002097/1.506, allocations: 0.5017 MB / 0.7344 GB, free: 80.98 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0193/1.526, allocations: 7.964 MB / 0.7422 GB, free: 72.93 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.074e-05/1.526, allocations: 44 kB / 0.7422 GB, free: 72.89 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.81e-05/1.526, allocations: 20 kB / 0.7422 GB, free: 72.87 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001121/1.526, allocations: 23.91 kB / 0.7423 GB, free: 72.84 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04484/1.571, allocations: 17.54 MB / 0.7594 GB, free: 55.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.221e-05/1.571, allocations: 11.72 kB / 0.7594 GB, free: 55.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005615/1.576, allocations: 0.7528 MB / 0.7601 GB, free: 54.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005708/1.582, allocations: 1.566 MB / 0.7617 GB, free: 52.87 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001038/1.583, allocations: 112 kB / 0.7618 GB, free: 52.76 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01948/1.603, allocations: 21.29 MB / 0.7826 GB, free: 30.52 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.603, allocations: 8.188 kB / 0.7826 GB, free: 30.52 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02035/1.623, allocations: 11.46 MB / 0.7938 GB, free: 18.91 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003842/1.627, allocations: 1.162 MB / 0.7949 GB, free: 17.73 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002364/1.629, allocations: 99.91 kB / 0.795 GB, free: 17.63 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005078/1.635, allocations: 239.8 kB / 0.7952 GB, free: 17.39 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001569/1.636, allocations: 339.5 kB / 0.7955 GB, free: 17.06 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008307/1.637, allocations: 136 kB / 0.7957 GB, free: 16.93 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.007335/1.644, allocations: 3.201 MB / 0.7988 GB, free: 13.73 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.71e-07/1.644, allocations: 0 / 0.7988 GB, free: 13.73 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.01073/1.655, allocations: 1.914 MB / 0.8007 GB, free: 11.82 MB / 478.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.002267/1.657, allocations: 0.5789 MB / 0.8012 GB, free: 11.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.247/1.904, allocations: 14.48 MB / 0.8154 GB, free: 165.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/1.904, allocations: 0 / 0.8154 GB, free: 165.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007562/1.912, allocations: 4.657 MB / 0.8199 GB, free: 164.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006895/1.919, allocations: 1.343 MB / 0.8212 GB, free: 164.1 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04203/1.961, allocations: 24.7 MB / 0.8454 GB, free: 145.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009081/1.97, allocations: 6.913 MB / 0.8521 GB, free: 140.2 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.006286/1.976, allocations: 1.934 MB / 0.854 GB, free: 138.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/1.978, allocations: 402.7 kB / 0.8544 GB, free: 138.4 MB / 478.1 MB Notification: Performance of SimCode: time 2.415e-06/1.978, allocations: 0 / 0.8544 GB, free: 138.4 MB / 478.1 MB Notification: Performance of Templates: time 0.1434/2.121, allocations: 86.77 MB / 0.9391 GB, free: 54.41 MB / 478.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)