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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 179.8 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.3 MB / 241.4 MB, free: 9.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000824/0.000824, allocations: 106.7 kB / 292.6 MB, free: 10.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003295, allocations: 12 kB / 352.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2078, allocations: 50.39 MB / 402.7 MB, free: 32.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1128/0.3206, allocations: 101.5 MB / 0.4925 GB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.3209, allocations: 91.94 kB / 0.4925 GB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2442/0.5652, allocations: 35.07 MB / 0.5268 GB, free: 87.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.5652, allocations: 0 / 0.5268 GB, free: 87.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000118/0.5653, allocations: 36 kB / 0.5268 GB, free: 87.84 MB / 378.7 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.003702/0.569, allocations: 1.806 MB / 0.5286 GB, free: 85.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.5691, allocations: 12.03 kB / 0.5286 GB, free: 85.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008133/0.5699, allocations: 222.6 kB / 0.5288 GB, free: 85.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.5719, allocations: 1.222 MB / 0.53 GB, free: 84.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.702e-05/0.572, allocations: 111.4 kB / 0.5301 GB, free: 84.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002986/0.5723, allocations: 156.3 kB / 0.5303 GB, free: 84.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002841/0.5752, allocations: 1.957 MB / 0.5322 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-05/0.5752, allocations: 4.188 kB / 0.5322 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.5754, allocations: 67.84 kB / 0.5322 GB, free: 82.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-05/0.5754, allocations: 74.86 kB / 0.5323 GB, free: 82.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/0.5777, allocations: 1.511 MB / 0.5338 GB, free: 80.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00781/0.5855, allocations: 6.323 MB / 0.54 GB, free: 74.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.5866, allocations: 0.8656 MB / 0.5408 GB, free: 73.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006536/0.5873, allocations: 0.538 MB / 0.5413 GB, free: 72.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002042/0.5875, allocations: 129.6 kB / 0.5415 GB, free: 72.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.5876, allocations: 51.53 kB / 0.5415 GB, free: 72.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=70): time 2.164e-06/0.5876, allocations: 0 / 0.5415 GB, free: 72.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.01188/0.5995, allocations: 6.274 MB / 0.5476 GB, free: 66.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.5995, allocations: 68.39 kB / 0.5477 GB, free: 65.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.601, allocations: 1.113 MB / 0.5488 GB, free: 64.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.629e-05/0.601, allocations: 41.7 kB / 0.5488 GB, free: 64.76 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003431/0.6014, allocations: 0.7476 MB / 0.5496 GB, free: 64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.6016, allocations: 343 kB / 0.5499 GB, free: 63.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.6016, allocations: 20 kB / 0.5499 GB, free: 63.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.589e-05/0.6017, allocations: 349.9 kB / 0.5502 GB, free: 63.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006669/0.6024, allocations: 0.5647 MB / 0.5508 GB, free: 62.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007981/0.6032, allocations: 0.9147 MB / 0.5517 GB, free: 61.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/0.6047, allocations: 1.574 MB / 0.5532 GB, free: 59.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.6048, allocations: 11.88 kB / 0.5532 GB, free: 59.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002819/0.6076, allocations: 2.113 MB / 0.5553 GB, free: 57.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.6076, allocations: 12 kB / 0.5553 GB, free: 57.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.6076, allocations: 11.98 kB / 0.5553 GB, free: 57.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.6089, allocations: 0.5632 MB / 0.5559 GB, free: 57.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007953/0.6097, allocations: 259.6 kB / 0.5561 GB, free: 56.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005902/0.6156, allocations: 7.99 MB / 0.5639 GB, free: 48.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009624/0.6166, allocations: 71.84 kB / 0.564 GB, free: 48.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.6167, allocations: 60.27 kB / 0.564 GB, free: 48.29 MB / 378.7 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 (130): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(4,87.5%) 8,(1,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009738/0.6177, allocations: 0.5245 MB / 0.5646 GB, free: 47.76 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003053/0.618, allocations: 126.5 kB / 0.5647 GB, free: 47.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002795/0.6208, allocations: 1.9 MB / 0.5665 GB, free: 45.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.6209, allocations: 12 kB / 0.5665 GB, free: 45.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.6209, allocations: 7.938 kB / 0.5665 GB, free: 45.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.6209, allocations: 3.984 kB / 0.5666 GB, free: 45.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005489/0.6264, allocations: 3.896 MB / 0.5704 GB, free: 41.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.6264, allocations: 0 / 0.5704 GB, free: 41.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004549/0.6269, allocations: 127.7 kB / 0.5705 GB, free: 41.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001479/0.6284, allocations: 0.6714 MB / 0.5711 GB, free: 40.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.771e-05/0.6284, allocations: 27.98 kB / 0.5712 GB, free: 40.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006711/0.6352, allocations: 7.988 MB / 0.579 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6352, allocations: 11.92 kB / 0.579 GB, free: 32.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/0.6384, allocations: 2.665 MB / 0.5816 GB, free: 29.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005126/0.6389, allocations: 319.6 kB / 0.5819 GB, free: 29.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.6391, allocations: 23.98 kB / 0.5819 GB, free: 29.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000567/0.6396, allocations: 59.88 kB / 0.582 GB, free: 29.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.6398, allocations: 80.83 kB / 0.582 GB, free: 29.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.503e-05/0.6399, allocations: 24 kB / 0.5821 GB, free: 29.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009917/0.6409, allocations: 0.762 MB / 0.5828 GB, free: 28.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6409, allocations: 0 / 0.5828 GB, free: 28.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001308/0.6422, allocations: 427.9 kB / 0.5832 GB, free: 28.06 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (imc.inertiaRotor.phi,imc.idq_sr[1],imc.idq_sr[2],imc.idq_rr[1],imc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,77.8%) 20,(1,100.0%) 1,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003916/0.6426, allocations: 316 kB / 0.5835 GB, free: 27.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002602/0.6452, allocations: 2.203 MB / 0.5857 GB, free: 25.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6452, allocations: 0.75 kB / 0.5857 GB, free: 25.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001681/0.6469, allocations: 1.381 MB / 0.587 GB, free: 24.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/0.6487, allocations: 358.2 kB / 0.5874 GB, free: 23.69 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004144/0.6528, allocations: 3.971 MB / 0.5912 GB, free: 19.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007737/0.6536, allocations: 1.468 MB / 0.5927 GB, free: 18.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007726/0.6544, allocations: 271.3 kB / 0.5929 GB, free: 17.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.6546, allocations: 83.42 kB / 0.593 GB, free: 17.82 MB / 378.7 MB Notification: Performance of SimCode: time 7.72e-07/0.6546, allocations: 0 / 0.593 GB, free: 17.82 MB / 378.7 MB Notification: Performance of Templates: time 0.03157/0.6862, allocations: 23.31 MB / 0.6158 GB, free: 10.73 MB / 394.7 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)