Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.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_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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 114.8 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001223/0.001223, allocations: 204 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2249, allocations: 50.54 MB / 410 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking): time 0.008805/0.2337, allocations: 8.219 MB / 418.2 MB, free: 9.336 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00447/0.2382, allocations: 2.727 MB / 420.9 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009282/0.2391, allocations: 39.81 kB / 420.9 MB, free: 6.562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.2408, allocations: 0.6446 MB / 421.6 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.2426, allocations: 0.6757 MB / 422.3 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006762/0.2433, allocations: 279.6 kB / 422.5 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002318/0.2457, allocations: 2.043 MB / 424.6 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001644/0.2473, allocations: 1.421 MB / 426 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.2485, allocations: 0.8993 MB / 426.9 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.2497, allocations: 1.066 MB / 428 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002839/0.25, allocations: 231.9 kB / 428.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005512/0.2506, allocations: 319.8 kB / 428.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005717/0.2511, allocations: 0.6311 MB / 429.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009336/0.2521, allocations: 1.031 MB / 430.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002691/0.2548, allocations: 3.009 MB / 433.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2548, allocations: 4 kB / 433.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2548, allocations: 4 kB / 433.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.803e-05/0.2548, allocations: 0 / 433.2 MB, free: 10.24 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.00346/0.2583, allocations: 2.178 MB / 435.4 MB, free: 8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2584, allocations: 12.03 kB / 435.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005548/0.2589, allocations: 231.6 kB / 435.6 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.2606, allocations: 1.138 MB / 436.7 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.508e-05/0.2607, allocations: 111.4 kB / 436.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002325/0.261, allocations: 163.9 kB / 437 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003048/0.264, allocations: 1.955 MB / 439 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.128e-05/0.2641, allocations: 15.94 kB / 439 MB, free: 4.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.2642, allocations: 56 kB / 439 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.09e-05/0.2643, allocations: 74.92 kB / 439.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002463/0.2668, allocations: 1.585 MB / 440.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008765/0.2756, allocations: 6.298 MB / 447 MB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.2769, allocations: 0.8313 MB / 447.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000981/0.2779, allocations: 0.5682 MB / 448.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002094/0.2781, allocations: 117.6 kB / 448.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.2782, allocations: 47.05 kB / 448.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 2.515e-06/0.2782, allocations: 4 kB / 448.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=85): time 0.01241/0.2906, allocations: 5.869 MB / 454.4 MB, free: 4.43 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.2907, allocations: 60.41 kB / 454.5 MB, free: 4.359 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.2921, allocations: 1.149 MB / 455.6 MB, free: 3.195 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.242e-05/0.2922, allocations: 41.7 kB / 455.7 MB, free: 3.148 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005055/0.2927, allocations: 0.7963 MB / 456.5 MB, free: 2.344 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/0.2929, allocations: 317.3 kB / 456.8 MB, free: 2.031 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003154/0.2933, allocations: 210.9 kB / 457 MB, free: 1.816 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2934, allocations: 353.9 kB / 457.3 MB, free: 1.465 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007758/0.2942, allocations: 0.5413 MB / 457.9 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009599/0.2951, allocations: 0.8757 MB / 458.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/0.297, allocations: 1.524 MB / 460.3 MB, free: 14.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.297, allocations: 4 kB / 460.3 MB, free: 14.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.003334/0.3003, allocations: 2.055 MB / 462.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.3003, allocations: 12 kB / 462.3 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.3004, allocations: 12 kB / 462.3 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/0.3018, allocations: 0.5515 MB / 462.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008355/0.3026, allocations: 247.6 kB / 463.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008138/0.3108, allocations: 8.648 MB / 471.8 MB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000906/0.3117, allocations: 76.03 kB / 471.9 MB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-05/0.3118, allocations: 51.98 kB / 471.9 MB, free: 1.973 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.0007815/0.3126, allocations: 0.5169 MB / 472.4 MB, free: 1.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.3128, allocations: 127.2 kB / 472.6 MB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002895/0.3157, allocations: 1.77 MB / 474.3 MB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.3157, allocations: 7.922 kB / 474.3 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3157, allocations: 0 / 474.3 MB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004613/0.3162, allocations: 320.2 kB / 474.6 MB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.3164, allocations: 24 kB / 474.7 MB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006117/0.317, allocations: 55.92 kB / 474.7 MB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.3172, allocations: 76.81 kB / 474.8 MB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003743/0.3209, allocations: 1.909 MB / 476.7 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002591/0.3235, allocations: 2.091 MB / 478.8 MB, free: 11 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006957/0.3242, allocations: 0.5621 MB / 479.4 MB, free: 10.44 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001059/0.3253, allocations: 0.7895 MB / 480.1 MB, free: 9.645 MB / 398.1 MB Notification: Performance of Backend: time 3e-07/0.3253, allocations: 0 / 480.1 MB, free: 9.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003217/0.3285, allocations: 1.832 MB / 482 MB, free: 7.707 MB / 398.1 MB Notification: Performance of SimCode: time 0.005218/0.3338, allocations: 3.816 MB / 485.8 MB, free: 3.84 MB / 398.1 MB Notification: Performance of Templates: time 0.03465/0.3684, allocations: 22.28 MB / 0.4962 GB, free: 13.76 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DCBraking.pipe 2>&1)