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.001078/0.001078, allocations: 109.2 kB / 17.74 MB, free: 5.336 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.001143/0.001143, allocations: 188.3 kB / 18.68 MB, free: 4.41 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.3/1.3, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 39.94 kB / 352 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2323, allocations: 49.44 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.009056/0.2414, allocations: 8.18 MB / 409.6 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005166/0.2466, allocations: 2.693 MB / 412.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009089/0.2475, allocations: 43.81 kB / 412.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.2493, allocations: 0.6368 MB / 413 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00176/0.251, allocations: 0.6718 MB / 413.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006942/0.2517, allocations: 287.5 kB / 413.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002181/0.2539, allocations: 2.025 MB / 416 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001661/0.2556, allocations: 1.424 MB / 417.4 MB, free: 8.801 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.2568, allocations: 0.8837 MB / 418.3 MB, free: 7.914 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.2582, allocations: 1.066 MB / 419.3 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004306/0.2587, allocations: 228 kB / 419.6 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007511/0.2594, allocations: 319.8 kB / 419.9 MB, free: 6.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007378/0.2602, allocations: 0.6389 MB / 420.5 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001357/0.2616, allocations: 1.031 MB / 421.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00278/0.2643, allocations: 2.987 MB / 424.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2644, allocations: 0 / 424.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.2644, allocations: 0 / 424.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.832e-05/0.2645, allocations: 3.938 kB / 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.004626/0.2691, allocations: 2.125 MB / 426.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2692, allocations: 8.031 kB / 426.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006787/0.2698, allocations: 214.7 kB / 426.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002031/0.2719, allocations: 1.134 MB / 428 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.754e-05/0.272, allocations: 111.4 kB / 428.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/0.2722, allocations: 156 kB / 428.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003187/0.2754, allocations: 1.97 MB / 430.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.248e-05/0.2755, allocations: 7.906 kB / 430.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.2756, allocations: 63.92 kB / 430.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.922e-05/0.2757, allocations: 78.91 kB / 430.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002557/0.2783, allocations: 1.581 MB / 432 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009136/0.2874, allocations: 6.272 MB / 438.2 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.2888, allocations: 0.8397 MB / 439.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009667/0.2898, allocations: 0.5691 MB / 439.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002021/0.29, allocations: 121.6 kB / 439.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.29, allocations: 35.12 kB / 439.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 2.495e-06/0.2901, allocations: 4 kB / 439.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of matching and sorting (n=85): time 0.01321/0.3033, allocations: 5.839 MB / 445.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.3033, allocations: 64.34 kB / 445.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/0.305, allocations: 1.14 MB / 446.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.46e-05/0.3051, allocations: 41.7 kB / 446.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005254/0.3057, allocations: 0.7709 MB / 447.7 MB, free: 9.891 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000227/0.3059, allocations: 299.6 kB / 447.9 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003167/0.3062, allocations: 210.8 kB / 448.1 MB, free: 9.379 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3063, allocations: 349.9 kB / 448.5 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007839/0.3071, allocations: 0.5452 MB / 449 MB, free: 8.488 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009781/0.3081, allocations: 0.8834 MB / 449.9 MB, free: 7.453 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.31, allocations: 1.524 MB / 451.4 MB, free: 5.777 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/0.31, allocations: 4 kB / 451.4 MB, free: 5.773 MB / 366.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003379/0.3134, allocations: 2.043 MB / 453.5 MB, free: 3.707 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.3134, allocations: 12 kB / 453.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.3135, allocations: 11.94 kB / 453.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/0.3149, allocations: 0.5516 MB / 454.1 MB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000903/0.3158, allocations: 243.5 kB / 454.3 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008883/0.3247, allocations: 8.651 MB / 463 MB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009452/0.3257, allocations: 63.94 kB / 463 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.3258, allocations: 51.94 kB / 463.1 MB, free: 9.547 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.0008719/0.3267, allocations: 0.5248 MB / 463.6 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002889/0.327, allocations: 118.5 kB / 463.7 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003237/0.3302, allocations: 1.774 MB / 465.5 MB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.3302, allocations: 7.984 kB / 465.5 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3303, allocations: 0 / 465.5 MB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006429/0.3309, allocations: 311.6 kB / 465.8 MB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/0.3312, allocations: 19.98 kB / 465.8 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007122/0.3319, allocations: 59.92 kB / 465.9 MB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.3321, allocations: 76.81 kB / 465.9 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004029/0.3361, allocations: 1.9 MB / 467.8 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002717/0.3388, allocations: 2.09 MB / 469.9 MB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007996/0.3396, allocations: 0.5699 MB / 470.5 MB, free: 2.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001237/0.3409, allocations: 0.7854 MB / 471.3 MB, free: 1.227 MB / 382.1 MB Notification: Performance of Backend: time 4.11e-07/0.3409, allocations: 0 / 471.3 MB, free: 1.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003561/0.3445, allocations: 1.831 MB / 473.1 MB, free: 15.29 MB / 398.1 MB Notification: Performance of SimCode: time 0.005756/0.3502, allocations: 3.745 MB / 476.9 MB, free: 11.5 MB / 398.1 MB Notification: Performance of Templates: time 0.03564/0.3859, allocations: 22.2 MB / 499.1 MB, free: 5.52 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)