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.001351/0.001351, allocations: 113.2 kB / 18.46 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.001464/0.001464, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.238, allocations: 50.54 MB / 410 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01112/0.2492, allocations: 9.505 MB / 419.5 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006219/0.2554, allocations: 3.63 MB / 423.1 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.2567, allocations: 47.81 kB / 423.1 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.2586, allocations: 0.7339 MB / 423.9 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002395/0.261, allocations: 0.8427 MB / 424.7 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.2621, allocations: 455.1 kB / 425.2 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002395/0.2645, allocations: 2.428 MB / 427.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001861/0.2664, allocations: 1.77 MB / 429.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.2677, allocations: 1.11 MB / 430.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.2695, allocations: 1.39 MB / 431.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004142/0.2699, allocations: 280 kB / 432.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008096/0.2708, allocations: 415.8 kB / 432.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007297/0.2715, allocations: 0.8064 MB / 433.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.2727, allocations: 1.283 MB / 434.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003624/0.2764, allocations: 3.759 MB / 438.4 MB, free: 5.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2764, allocations: 0 / 438.4 MB, free: 5.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2764, allocations: 3.938 kB / 438.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.031e-05/0.2764, allocations: 0 / 438.4 MB, free: 5.047 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.004911/0.2814, allocations: 2.671 MB / 441.1 MB, free: 2.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.2814, allocations: 12.02 kB / 441.1 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007399/0.2822, allocations: 285.9 kB / 441.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/0.2845, allocations: 1.392 MB / 442.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.2846, allocations: 143.7 kB / 442.9 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002743/0.2849, allocations: 187.9 kB / 443.1 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003678/0.2886, allocations: 2.444 MB / 445.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.227e-05/0.2887, allocations: 4 kB / 445.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/0.2889, allocations: 79.98 kB / 445.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.98e-05/0.289, allocations: 99.61 kB / 445.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003154/0.2921, allocations: 1.982 MB / 447.7 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01033/0.3025, allocations: 7.327 MB / 455 MB, free: 4.086 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.3043, allocations: 1.337 MB / 456.3 MB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.3058, allocations: 0.8754 MB / 457.2 MB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002792/0.3061, allocations: 126.1 kB / 457.3 MB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001119/0.3072, allocations: 0.675 MB / 458 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of pre-optimization done (n=99): time 3.026e-06/0.3073, allocations: 0 / 458 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.01528/0.3225, allocations: 7.342 MB / 465.3 MB, free: 9.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.481e-05/0.3227, allocations: 175.1 kB / 465.5 MB, free: 9.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.3245, allocations: 1.431 MB / 466.9 MB, free: 7.781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.621e-05/0.3246, allocations: 45.7 kB / 467 MB, free: 7.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007867/0.3254, allocations: 0.9367 MB / 467.9 MB, free: 6.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003129/0.3257, allocations: 421.9 kB / 468.3 MB, free: 6.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003688/0.3261, allocations: 251.5 kB / 468.6 MB, free: 6.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3263, allocations: 357.9 kB / 468.9 MB, free: 5.754 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009559/0.3272, allocations: 0.6441 MB / 469.6 MB, free: 5.109 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/0.3285, allocations: 0.9936 MB / 470.6 MB, free: 3.973 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002241/0.3307, allocations: 1.707 MB / 472.3 MB, free: 2.133 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.3307, allocations: 4 kB / 472.3 MB, free: 2.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003789/0.3345, allocations: 2.34 MB / 474.6 MB, free: 15.74 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.3346, allocations: 12 kB / 474.6 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.3346, allocations: 11.94 kB / 474.6 MB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.3358, allocations: 496.1 kB / 475.1 MB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.3369, allocations: 299.5 kB / 475.4 MB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006862/0.3438, allocations: 7.183 MB / 482.6 MB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.3449, allocations: 99.84 kB / 482.7 MB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.3451, allocations: 55.98 kB / 482.8 MB, free: 7.172 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.0009741/0.3461, allocations: 0.6223 MB / 483.4 MB, free: 6.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002481/0.3463, allocations: 158 kB / 483.5 MB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003464/0.3498, allocations: 2.151 MB / 485.7 MB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.3498, allocations: 11.91 kB / 485.7 MB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3498, allocations: 4 kB / 485.7 MB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006861/0.3505, allocations: 379 kB / 486.1 MB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.3507, allocations: 24 kB / 486.1 MB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007204/0.3515, allocations: 71.91 kB / 486.2 MB, free: 3.691 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.3516, allocations: 92.84 kB / 486.3 MB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00421/0.3559, allocations: 2.164 MB / 488.4 MB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003525/0.3594, allocations: 2.574 MB / 491 MB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009764/0.3604, allocations: 0.7144 MB / 491.7 MB, free: 14.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00138/0.3618, allocations: 0.9835 MB / 492.7 MB, free: 13.12 MB / 414.1 MB Notification: Performance of Backend: time 5.31e-07/0.3618, allocations: 0 / 492.7 MB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004334/0.3661, allocations: 2.217 MB / 494.9 MB, free: 10.99 MB / 414.1 MB Notification: Performance of SimCode: time 0.008212/0.3744, allocations: 4.554 MB / 499.5 MB, free: 6.391 MB / 414.1 MB Notification: Performance of Templates: time 0.04528/0.4197, allocations: 26.44 MB / 0.5136 GB, free: 12.16 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)