Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.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 4.0.0+maint.om/package.mo", uses=false) 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) 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.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.idq_rr.1.|imc.idq_rr.2.|loadInertia.phi|loadInertia.w|imc.idq_sr.1.|imc.idq_sr.2.|imc.is.1.|imc.is.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.idq_rr.1.|imc.idq_rr.2.|loadInertia.phi|loadInertia.w|imc.idq_sr.1.|imc.idq_sr.2.|imc.is.1.|imc.is.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 110.9 kB / 17.75 MB, free: 5.305 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.001159/0.001159, allocations: 190.6 kB / 18.68 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009752/0.0009752, allocations: 51.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2208, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.008696/0.2296, allocations: 8.182 MB / 409.6 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004104/0.2337, allocations: 2.691 MB / 412.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004698/0.2342, allocations: 43.81 kB / 412.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.2356, allocations: 0.6368 MB / 413 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.2368, allocations: 0.664 MB / 413.6 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005108/0.2373, allocations: 287.6 kB / 413.9 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001813/0.2391, allocations: 2.027 MB / 416 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.2406, allocations: 1.436 MB / 417.4 MB, free: 8.805 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009286/0.2416, allocations: 0.8838 MB / 418.3 MB, free: 7.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.2427, allocations: 1.059 MB / 419.3 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002834/0.243, allocations: 232 kB / 419.6 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005366/0.2436, allocations: 319.8 kB / 419.9 MB, free: 6.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00058/0.2442, allocations: 0.6272 MB / 420.5 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008976/0.2451, allocations: 1.034 MB / 421.5 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002708/0.2478, allocations: 2.997 MB / 424.5 MB, free: 1.641 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2478, allocations: 4 kB / 424.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.2478, allocations: 4 kB / 424.5 MB, free: 1.633 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.316e-05/0.2479, allocations: 0 / 424.5 MB, free: 1.633 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003661/0.2515, allocations: 2.174 MB / 426.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.2516, allocations: 8.031 kB / 426.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006137/0.2522, allocations: 227.7 kB / 426.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.2541, allocations: 1.138 MB / 428.1 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.2542, allocations: 111.4 kB / 428.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/0.2544, allocations: 164 kB / 428.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003105/0.2575, allocations: 1.963 MB / 430.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.402e-05/0.2576, allocations: 3.953 kB / 430.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.2577, allocations: 64 kB / 430.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.051e-05/0.2578, allocations: 78.91 kB / 430.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002516/0.2603, allocations: 1.585 MB / 432 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009317/0.2697, allocations: 6.282 MB / 438.3 MB, free: 3.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.2711, allocations: 0.8385 MB / 439.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009545/0.272, allocations: 0.5692 MB / 439.7 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.2723, allocations: 117.6 kB / 439.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.2723, allocations: 43.12 kB / 439.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.164e-06/0.2723, allocations: 0 / 439.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=85): time 0.01351/0.2858, allocations: 5.869 MB / 445.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.2859, allocations: 64.34 kB / 445.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.2877, allocations: 1.14 MB / 447 MB, free: 10.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.689e-05/0.2878, allocations: 41.7 kB / 447 MB, free: 10.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006744/0.2885, allocations: 0.7924 MB / 447.8 MB, free: 9.766 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.2888, allocations: 317.4 kB / 448.1 MB, free: 9.453 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003248/0.2891, allocations: 206.8 kB / 448.3 MB, free: 9.242 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.2893, allocations: 353.9 kB / 448.6 MB, free: 8.891 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008366/0.2901, allocations: 0.5413 MB / 449.2 MB, free: 8.352 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/0.2912, allocations: 0.8796 MB / 450.1 MB, free: 7.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002338/0.2936, allocations: 1.524 MB / 451.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.2936, allocations: 4 kB / 451.6 MB, free: 5.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003483/0.2971, allocations: 2.055 MB / 453.7 MB, free: 3.562 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.2971, allocations: 8 kB / 453.7 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.2972, allocations: 12 kB / 453.7 MB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001393/0.2986, allocations: 0.567 MB / 454.2 MB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008238/0.2994, allocations: 243.6 kB / 454.5 MB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008317/0.3077, allocations: 8.647 MB / 463.1 MB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008988/0.3086, allocations: 71.89 kB / 463.2 MB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.689e-05/0.3087, allocations: 55.92 kB / 463.2 MB, free: 9.387 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (123): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 4 systems {(1,1,100.0%), (4,8,87.5%), (1,3,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008431/0.3096, allocations: 0.5143 MB / 463.8 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.3098, allocations: 135.2 kB / 463.9 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003057/0.3129, allocations: 1.766 MB / 465.7 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.3129, allocations: 8.062 kB / 465.7 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3129, allocations: 0 / 465.7 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/0.3134, allocations: 324.1 kB / 466 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.3135, allocations: 19.98 kB / 466 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006334/0.3142, allocations: 63.92 kB / 466.1 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.3143, allocations: 72.81 kB / 466.1 MB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003869/0.3182, allocations: 1.906 MB / 468 MB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002672/0.3209, allocations: 2.091 MB / 470.1 MB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007179/0.3216, allocations: 0.566 MB / 470.7 MB, free: 1.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001107/0.3227, allocations: 0.7854 MB / 471.5 MB, free: 1.055 MB / 382.1 MB Notification: Performance of Backend: time 3.61e-07/0.3228, allocations: 0 / 471.5 MB, free: 1.055 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0033/0.3261, allocations: 1.826 MB / 473.3 MB, free: 15.12 MB / 398.1 MB Notification: Performance of SimCode: time 0.005193/0.3313, allocations: 3.802 MB / 477.1 MB, free: 11.27 MB / 398.1 MB Notification: Performance of Templates: time 0.03644/0.3677, allocations: 22.2 MB / 499.3 MB, free: 5.293 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1)