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.0009932/0.0009932, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.259/1.259, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.0008989/0.0008988, allocations: 99.25 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002491/0.0002491, allocations: 7.938 kB / 351.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2008, allocations: 50.4 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1099/0.3107, allocations: 101.4 MB / 0.4911 GB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.311, allocations: 91.94 kB / 0.4912 GB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2571/0.5681, allocations: 35.06 MB / 0.5255 GB, free: 88.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5681, allocations: 4 kB / 0.5255 GB, free: 88.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001501/0.5683, allocations: 36 kB / 0.5255 GB, free: 88.22 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.004452/0.5728, allocations: 1.818 MB / 0.5273 GB, free: 86.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.5728, allocations: 11.97 kB / 0.5273 GB, free: 86.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008779/0.5737, allocations: 225.6 kB / 0.5275 GB, free: 86.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.5759, allocations: 1.191 MB / 0.5287 GB, free: 84.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.39e-05/0.5759, allocations: 114.9 kB / 0.5288 GB, free: 84.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/0.5761, allocations: 155.9 kB / 0.5289 GB, free: 84.64 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002531/0.5787, allocations: 1.938 MB / 0.5308 GB, free: 82.62 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.892e-05/0.5787, allocations: 7.953 kB / 0.5308 GB, free: 82.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.5789, allocations: 68 kB / 0.5309 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.755e-05/0.5789, allocations: 70.92 kB / 0.531 GB, free: 82.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.5808, allocations: 1.511 MB / 0.5324 GB, free: 80.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007004/0.5878, allocations: 6.316 MB / 0.5386 GB, free: 74.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.589, allocations: 0.8661 MB / 0.5394 GB, free: 73.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002617/0.5892, allocations: 133.6 kB / 0.5396 GB, free: 73.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.5893, allocations: 43.08 kB / 0.5396 GB, free: 73.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=70): time 2.485e-06/0.5893, allocations: 4 kB / 0.5396 GB, free: 73.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=93): time 0.01149/0.6008, allocations: 6.299 MB / 0.5458 GB, free: 66.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.6008, allocations: 60.41 kB / 0.5458 GB, free: 66.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.6019, allocations: 0.9863 MB / 0.5468 GB, free: 65.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.777e-05/0.602, allocations: 41.7 kB / 0.5468 GB, free: 65.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.6023, allocations: 0.7631 MB / 0.5476 GB, free: 65.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.6025, allocations: 331.1 kB / 0.5479 GB, free: 64.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.6025, allocations: 24 kB / 0.5479 GB, free: 64.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.696e-05/0.6026, allocations: 353.9 kB / 0.5482 GB, free: 64.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006121/0.6032, allocations: 0.5687 MB / 0.5488 GB, free: 63.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000721/0.6039, allocations: 0.9108 MB / 0.5497 GB, free: 62.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007401/0.6047, allocations: 0.7252 MB / 0.5504 GB, free: 62.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6047, allocations: 0 / 0.5504 GB, free: 62.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00261/0.6073, allocations: 2.125 MB / 0.5525 GB, free: 59.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.6073, allocations: 11.94 kB / 0.5525 GB, free: 59.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.6074, allocations: 12 kB / 0.5525 GB, free: 59.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.6085, allocations: 0.5555 MB / 0.553 GB, free: 59.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007887/0.6093, allocations: 263.6 kB / 0.5533 GB, free: 59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005693/0.615, allocations: 8.127 MB / 0.5612 GB, free: 50.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008811/0.6159, allocations: 68.22 kB / 0.5613 GB, free: 50.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.322e-05/0.616, allocations: 56.23 kB / 0.5613 GB, free: 50.23 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.0008381/0.6169, allocations: 0.5248 MB / 0.5619 GB, free: 49.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.617, allocations: 130.4 kB / 0.562 GB, free: 49.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00264/0.6197, allocations: 1.916 MB / 0.5639 GB, free: 47.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.6197, allocations: 12 kB / 0.5639 GB, free: 47.61 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.6197, allocations: 12.06 kB / 0.5639 GB, free: 47.6 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.6197, allocations: 3.984 kB / 0.5639 GB, free: 47.6 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005269/0.625, allocations: 3.907 MB / 0.5677 GB, free: 43.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.625, allocations: 0 / 0.5677 GB, free: 43.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004743/0.6255, allocations: 123.8 kB / 0.5678 GB, free: 43.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00147/0.627, allocations: 0.6712 MB / 0.5685 GB, free: 42.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.02e-05/0.6271, allocations: 23.98 kB / 0.5685 GB, free: 42.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00681/0.6339, allocations: 8.2 MB / 0.5765 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6339, allocations: 7.984 kB / 0.5765 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003225/0.6371, allocations: 2.78 MB / 0.5792 GB, free: 31.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005957/0.6378, allocations: 315.6 kB / 0.5795 GB, free: 31 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001416/0.6379, allocations: 27.98 kB / 0.5795 GB, free: 30.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005774/0.6385, allocations: 59.94 kB / 0.5796 GB, free: 30.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.6386, allocations: 76.78 kB / 0.5797 GB, free: 30.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.858e-05/0.6387, allocations: 31.98 kB / 0.5797 GB, free: 30.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008507/0.6395, allocations: 0.7542 MB / 0.5804 GB, free: 30.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6395, allocations: 0 / 0.5804 GB, free: 30.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001349/0.6409, allocations: 431.9 kB / 0.5809 GB, free: 29.62 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.0004235/0.6413, allocations: 305.5 kB / 0.5811 GB, free: 29.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002621/0.644, allocations: 2.219 MB / 0.5833 GB, free: 27.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.644, allocations: 0 / 0.5833 GB, free: 27.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001703/0.6457, allocations: 1.387 MB / 0.5847 GB, free: 25.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001406/0.6471, allocations: 340.1 kB / 0.585 GB, free: 25.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004288/0.6514, allocations: 3.977 MB / 0.5889 GB, free: 21.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008031/0.6522, allocations: 1.495 MB / 0.5903 GB, free: 19.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007574/0.653, allocations: 267.3 kB / 0.5906 GB, free: 19.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.6532, allocations: 91.42 kB / 0.5907 GB, free: 19.34 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.6532, allocations: 0 / 0.5907 GB, free: 19.34 MB / 378.7 MB Notification: Performance of Templates: time 0.03165/0.6849, allocations: 23.06 MB / 0.6132 GB, free: 12.51 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)