Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001567/0.001567, allocations: 114.2 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001935/0.001935, allocations: 214.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 59.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2221, allocations: 50.55 MB / 410 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01041/0.2326, allocations: 9.501 MB / 419.5 MB, free: 8.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006015/0.2386, allocations: 3.623 MB / 423.1 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001056/0.2397, allocations: 55.75 kB / 423.1 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.2415, allocations: 0.7574 MB / 423.9 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002256/0.2438, allocations: 0.8857 MB / 424.8 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.2449, allocations: 447.1 kB / 425.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002665/0.2475, allocations: 2.436 MB / 427.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/0.2496, allocations: 1.771 MB / 429.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.2511, allocations: 1.113 MB / 430.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/0.253, allocations: 1.393 MB / 431.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006357/0.2537, allocations: 280 kB / 432.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.2548, allocations: 415.8 kB / 432.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001037/0.2559, allocations: 0.8064 MB / 433.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001704/0.2576, allocations: 1.287 MB / 434.7 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003971/0.2616, allocations: 3.747 MB / 438.5 MB, free: 4.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2616, allocations: 4 kB / 438.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2616, allocations: 0 / 438.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.559e-05/0.2617, allocations: 0 / 438.5 MB, free: 4.957 MB / 350.1 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.005407/0.2671, allocations: 2.679 MB / 441.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2672, allocations: 8.031 kB / 441.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007688/0.2679, allocations: 281.9 kB / 441.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/0.2703, allocations: 1.4 MB / 442.8 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.2704, allocations: 139.7 kB / 443 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000277/0.2707, allocations: 195.9 kB / 443.1 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00382/0.2745, allocations: 2.436 MB / 445.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.707e-05/0.2746, allocations: 4 kB / 445.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/0.2747, allocations: 76 kB / 445.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.574e-05/0.2748, allocations: 99.67 kB / 445.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003384/0.2782, allocations: 1.978 MB / 447.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01041/0.2887, allocations: 7.327 MB / 455.1 MB, free: 4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.2905, allocations: 1.348 MB / 456.4 MB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/0.2921, allocations: 0.8676 MB / 457.3 MB, free: 1.719 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002412/0.2923, allocations: 122.1 kB / 457.4 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.2934, allocations: 0.6828 MB / 458.1 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 2.485e-06/0.2934, allocations: 0 / 458.1 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01506/0.3085, allocations: 7.34 MB / 465.4 MB, free: 9.344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/0.3086, allocations: 171.2 kB / 465.6 MB, free: 9.141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001814/0.3104, allocations: 1.431 MB / 467 MB, free: 7.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.844e-05/0.3105, allocations: 45.7 kB / 467.1 MB, free: 7.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007136/0.3112, allocations: 0.9328 MB / 468 MB, free: 6.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/0.3115, allocations: 429.9 kB / 468.4 MB, free: 6.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003868/0.3119, allocations: 247.5 kB / 468.7 MB, free: 6.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3121, allocations: 361.9 kB / 469 MB, free: 5.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.3131, allocations: 0.6403 MB / 469.6 MB, free: 5.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.3144, allocations: 0.9975 MB / 470.6 MB, free: 3.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002289/0.3167, allocations: 1.699 MB / 472.3 MB, free: 2.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.3167, allocations: 4 kB / 472.4 MB, free: 2.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003876/0.3206, allocations: 2.351 MB / 474.7 MB, free: 15.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.3206, allocations: 12 kB / 474.7 MB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.3207, allocations: 8 kB / 474.7 MB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.3218, allocations: 499.9 kB / 475.2 MB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.3229, allocations: 295.5 kB / 475.5 MB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007287/0.3302, allocations: 7.183 MB / 482.7 MB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/0.3315, allocations: 99.91 kB / 482.8 MB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.3316, allocations: 56.06 kB / 482.8 MB, free: 7.078 MB / 398.1 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.001162/0.3328, allocations: 0.6262 MB / 483.5 MB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003077/0.3331, allocations: 162 kB / 483.6 MB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003721/0.3368, allocations: 2.147 MB / 485.8 MB, free: 4.094 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/0.3368, allocations: 3.984 kB / 485.8 MB, free: 4.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.3369, allocations: 0 / 485.8 MB, free: 4.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006868/0.3375, allocations: 375 kB / 486.1 MB, free: 3.703 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/0.3378, allocations: 31.98 kB / 486.2 MB, free: 3.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007711/0.3386, allocations: 71.92 kB / 486.2 MB, free: 3.602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.3388, allocations: 92.84 kB / 486.3 MB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00445/0.3433, allocations: 2.168 MB / 488.5 MB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003574/0.3468, allocations: 2.562 MB / 491.1 MB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009876/0.3478, allocations: 0.7144 MB / 491.8 MB, free: 14.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001391/0.3492, allocations: 0.9912 MB / 492.8 MB, free: 13.04 MB / 414.1 MB Notification: Performance of Backend: time 4.71e-07/0.3493, allocations: 0 / 492.8 MB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004192/0.3535, allocations: 2.215 MB / 495 MB, free: 10.9 MB / 414.1 MB Notification: Performance of SimCode: time 0.006628/0.3601, allocations: 4.558 MB / 499.5 MB, free: 6.297 MB / 414.1 MB Notification: Performance of Templates: time 0.04068/0.4008, allocations: 26.44 MB / 0.5136 GB, free: 12.08 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1)