Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.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_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|PI.x|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.w|powerSensor.flange_a.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001137/0.001137, allocations: 111.1 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001367, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 59.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2413, allocations: 50.54 MB / 410 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses): time 0.01114/0.2525, allocations: 9.72 MB / 419.7 MB, free: 7.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007742/0.2602, allocations: 3.755 MB / 423.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.2618, allocations: 47.81 kB / 423.5 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.264, allocations: 0.6598 MB / 424.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002764/0.2668, allocations: 0.8777 MB / 425 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.2681, allocations: 471.1 kB / 425.5 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003094/0.2712, allocations: 2.661 MB / 428.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002266/0.2735, allocations: 1.881 MB / 430 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.2751, allocations: 1.199 MB / 431.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002165/0.2773, allocations: 1.506 MB / 432.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006576/0.278, allocations: 308 kB / 433 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001323/0.2793, allocations: 0.5542 MB / 433.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001182/0.2805, allocations: 1.021 MB / 434.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001867/0.2824, allocations: 1.489 MB / 436.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004175/0.2866, allocations: 4.308 MB / 440.4 MB, free: 2.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2866, allocations: 0 / 440.4 MB, free: 2.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2866, allocations: 0 / 440.4 MB, free: 2.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001052/0.2867, allocations: 0 / 440.4 MB, free: 2.992 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.006489/0.2932, allocations: 3.181 MB / 443.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.2932, allocations: 12.03 kB / 443.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.2944, allocations: 361.1 kB / 444 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003014/0.2974, allocations: 1.728 MB / 445.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.2976, allocations: 144 kB / 445.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003079/0.2979, allocations: 215.9 kB / 446 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004234/0.3021, allocations: 2.69 MB / 448.7 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.165e-05/0.3022, allocations: 11.91 kB / 448.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001855/0.3024, allocations: 76 kB / 448.8 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/0.3025, allocations: 99.92 kB / 448.9 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003815/0.3064, allocations: 2.28 MB / 451.2 MB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01225/0.3186, allocations: 8.143 MB / 459.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/0.3217, allocations: 1.631 MB / 461 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002158/0.3239, allocations: 1.097 MB / 462.1 MB, free: 12.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002684/0.3242, allocations: 127.1 kB / 462.2 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.3242, allocations: 43.56 kB / 462.2 MB, free: 12.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=116): time 4.598e-06/0.3242, allocations: 0 / 462.2 MB, free: 12.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01356/0.3378, allocations: 6.453 MB / 468.7 MB, free: 6.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.3379, allocations: 72.72 kB / 468.8 MB, free: 5.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003255/0.3411, allocations: 2.177 MB / 470.9 MB, free: 3.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.3413, allocations: 45.7 kB / 471 MB, free: 3.723 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008328/0.3421, allocations: 1.119 MB / 472.1 MB, free: 2.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003945/0.3425, allocations: 449.4 kB / 472.5 MB, free: 2.145 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004318/0.3429, allocations: 247.4 kB / 472.8 MB, free: 1.898 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.3431, allocations: 365.9 kB / 473.1 MB, free: 1.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.3445, allocations: 0.7613 MB / 473.9 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.3459, allocations: 1.017 MB / 474.9 MB, free: 15.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002907/0.3488, allocations: 1.861 MB / 476.8 MB, free: 13.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.3489, allocations: 0 / 476.8 MB, free: 13.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005217/0.3541, allocations: 2.769 MB / 479.5 MB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.3541, allocations: 8 kB / 479.5 MB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.682e-05/0.3542, allocations: 8 kB / 479.6 MB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002045/0.3562, allocations: 0.789 MB / 480.3 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.3574, allocations: 267.6 kB / 480.6 MB, free: 9.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01217/0.3696, allocations: 9.586 MB / 490.2 MB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.3709, allocations: 95.91 kB / 490.3 MB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/0.3711, allocations: 51.98 kB / 490.3 MB, free: 15.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (6,33,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001234/0.3723, allocations: 0.7473 MB / 491.1 MB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004687/0.3728, allocations: 201.5 kB / 491.3 MB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004596/0.3774, allocations: 2.493 MB / 493.8 MB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.3774, allocations: 7.969 kB / 493.8 MB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3775, allocations: 0 / 493.8 MB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009728/0.3784, allocations: 450.3 kB / 494.2 MB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002979/0.3787, allocations: 28 kB / 494.2 MB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009677/0.3797, allocations: 91.88 kB / 494.3 MB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002384/0.38, allocations: 113.1 kB / 494.4 MB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005465/0.3854, allocations: 2.573 MB / 497 MB, free: 9.078 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00476/0.3902, allocations: 3.083 MB / 0.4884 GB, free: 5.973 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001287/0.3915, allocations: 0.8612 MB / 0.4892 GB, free: 5.113 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002125/0.3937, allocations: 1.536 MB / 0.4907 GB, free: 3.555 MB / 414.1 MB Notification: Performance of Backend: time 3.91e-07/0.3937, allocations: 0 / 0.4907 GB, free: 3.555 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004987/0.3987, allocations: 2.26 MB / 0.4929 GB, free: 1.426 MB / 414.1 MB Notification: Performance of SimCode: time 0.007891/0.4066, allocations: 5.482 MB / 0.4983 GB, free: 11.89 MB / 430.1 MB Notification: Performance of Templates: time 0.05348/0.4601, allocations: 32.47 MB / 0.53 GB, free: 11.63 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_withLosses.pipe 2>&1)