Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.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.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 186.5 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.483/1.483, 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.001686/0.001686, allocations: 104.4 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009775/0.0009776, allocations: 39.94 kB / 350 MB, free: 52 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2634, allocations: 49.43 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.009078/0.2725, allocations: 9.394 MB / 408.9 MB, free: 23.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005993/0.2785, allocations: 3.431 MB / 412.3 MB, free: 20.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.2802, allocations: 43.81 kB / 412.3 MB, free: 20.46 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.282, allocations: 0.6491 MB / 413 MB, free: 19.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002654/0.2847, allocations: 0.7228 MB / 413.7 MB, free: 19.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.286, allocations: 416.1 kB / 414.1 MB, free: 18.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002967/0.289, allocations: 2.779 MB / 416.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/0.2905, allocations: 1.461 MB / 418.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.292, allocations: 0.9767 MB / 419.3 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001495/0.2936, allocations: 1.339 MB / 420.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002728/0.2938, allocations: 172 kB / 420.8 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007093/0.2946, allocations: 315.7 kB / 421.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000551/0.2951, allocations: 0.6932 MB / 421.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.2962, allocations: 1.17 MB / 423 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002465/0.2986, allocations: 3.598 MB / 426.6 MB, free: 6.094 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2987, allocations: 4 kB / 426.6 MB, free: 6.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2987, allocations: 3.938 kB / 426.6 MB, free: 6.086 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.578e-05/0.2988, allocations: 0 / 426.6 MB, free: 6.086 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.005831/0.3046, allocations: 2.663 MB / 429.3 MB, free: 3.363 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.3047, allocations: 16.03 kB / 429.3 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006598/0.3053, allocations: 269.9 kB / 429.6 MB, free: 3.082 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002124/0.3075, allocations: 1.346 MB / 430.9 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.024e-05/0.3076, allocations: 139.7 kB / 431 MB, free: 1.543 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002442/0.3078, allocations: 184 kB / 431.2 MB, free: 1.363 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003606/0.3114, allocations: 2.448 MB / 433.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.982e-05/0.3115, allocations: 11.91 kB / 433.7 MB, free: 14.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000163/0.3117, allocations: 72 kB / 433.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001244/0.3118, allocations: 99.67 kB / 433.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003376/0.3152, allocations: 1.99 MB / 435.8 MB, free: 12.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01272/0.3279, allocations: 7.397 MB / 443.2 MB, free: 5.113 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002014/0.33, allocations: 1.336 MB / 444.6 MB, free: 3.715 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.3316, allocations: 0.895 MB / 445.5 MB, free: 2.824 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002652/0.3319, allocations: 114.1 kB / 445.6 MB, free: 2.695 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00106/0.3329, allocations: 0.6866 MB / 446.3 MB, free: 1.977 MB / 314.7 MB Notification: Performance of pre-optimization done (n=99): time 2.625e-06/0.3329, allocations: 0 / 446.3 MB, free: 1.977 MB / 314.7 MB Notification: Performance of matching and sorting (n=121): time 0.01609/0.349, allocations: 7.332 MB / 453.6 MB, free: 10.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.3492, allocations: 171.2 kB / 453.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/0.3513, allocations: 1.414 MB / 455.2 MB, free: 8.816 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.859e-05/0.3514, allocations: 49.7 kB / 455.2 MB, free: 8.762 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009186/0.3524, allocations: 0.9287 MB / 456.2 MB, free: 7.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003834/0.3528, allocations: 429.9 kB / 456.6 MB, free: 7.395 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004124/0.3532, allocations: 243.5 kB / 456.8 MB, free: 7.152 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.3534, allocations: 361.9 kB / 457.2 MB, free: 6.793 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009774/0.3544, allocations: 0.648 MB / 457.8 MB, free: 6.145 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.3556, allocations: 0.9975 MB / 458.8 MB, free: 5.004 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002314/0.358, allocations: 1.707 MB / 460.5 MB, free: 3.164 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.358, allocations: 0 / 460.5 MB, free: 3.164 MB / 330.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003931/0.3619, allocations: 2.336 MB / 462.9 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.673e-05/0.362, allocations: 16.03 kB / 462.9 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.362, allocations: 8 kB / 462.9 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.3631, allocations: 495.8 kB / 463.4 MB, free: 264 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.3642, allocations: 295.6 kB / 463.7 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007053/0.3713, allocations: 6.593 MB / 470.3 MB, free: 8.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.3729, allocations: 91.89 kB / 470.3 MB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.3731, allocations: 55.98 kB / 470.4 MB, free: 8.828 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00141/0.3745, allocations: 0.6262 MB / 471 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004009/0.3749, allocations: 158.1 kB / 471.2 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004065/0.379, allocations: 2.154 MB / 473.3 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.379, allocations: 15.94 kB / 473.3 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.379, allocations: 8 kB / 473.4 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.379, allocations: 3.984 kB / 473.4 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007718/0.3868, allocations: 4.475 MB / 477.8 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.3868, allocations: 8.062 kB / 477.8 MB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007377/0.3875, allocations: 187.7 kB / 478 MB, free: 1.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001345/0.3889, allocations: 0.5387 MB / 478.6 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.721e-05/0.389, allocations: 31.98 kB / 478.6 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007427/0.3964, allocations: 8.017 MB / 486.6 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/0.3965, allocations: 8.016 kB / 486.6 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2438/0.6403, allocations: 25.23 MB / 0.4998 GB, free: 92.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007309/0.641, allocations: 364.6 kB / 0.5002 GB, free: 92.35 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.6412, allocations: 35.59 kB / 0.5002 GB, free: 92.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007693/0.642, allocations: 70.75 kB / 0.5003 GB, free: 92.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/0.6423, allocations: 99.53 kB / 0.5004 GB, free: 92.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.638e-05/0.6424, allocations: 39.2 kB / 0.5004 GB, free: 92.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001453/0.6438, allocations: 0.9779 MB / 0.5014 GB, free: 92.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6438, allocations: 0 / 0.5014 GB, free: 92.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002069/0.6459, allocations: 0.6267 MB / 0.502 GB, free: 92.24 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001139/0.6471, allocations: 0.4903 MB / 0.5025 GB, free: 92.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003828/0.6509, allocations: 2.245 MB / 0.5047 GB, free: 91.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6509, allocations: 1.25 kB / 0.5047 GB, free: 91.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002288/0.6532, allocations: 1.521 MB / 0.5062 GB, free: 90.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/0.6552, allocations: 397.5 kB / 0.5065 GB, free: 90.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00762/0.6628, allocations: 6.684 MB / 0.5131 GB, free: 86.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001111/0.6639, allocations: 1.774 MB / 0.5148 GB, free: 85.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001085/0.665, allocations: 343 kB / 0.5151 GB, free: 85.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003174/0.6654, allocations: 119.2 kB / 0.5152 GB, free: 85.92 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6654, allocations: 0 / 0.5152 GB, free: 85.92 MB / 378.7 MB Notification: Performance of Templates: time 0.03846/0.7038, allocations: 29.79 MB / 0.5443 GB, free: 57.63 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1)