Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.TestBrush.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/HanserModelica 2.0.0-master/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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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(HanserModelica.Electrical.TestBrush,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TestBrush") translateModel(HanserModelica.Electrical.TestBrush,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TestBrush") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009167/0.0009167, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03939/0.03939, allocations: 8.719 MB / 16.79 MB, free: 3.375 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.317/1.317, allocations: 221.5 MB / 240.9 MB, free: 13.19 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.0009379/0.0009381, allocations: 88.12 kB / 293.8 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.754e-05/1.761e-05, allocations: 0 / 352.6 MB, free: 1.258 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.153, allocations: 52.55 MB / 405.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4062/0.5593, allocations: 78.18 MB / 483.4 MB, free: 9.109 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003538/0.5598, allocations: 66 kB / 483.4 MB, free: 9.078 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007176/0.567, allocations: 1.917 MB / 485.3 MB, free: 7.465 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.567, allocations: 0 / 485.3 MB, free: 7.465 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.778e-06/0.567, allocations: 4 kB / 485.3 MB, free: 7.461 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000449/0.5675, allocations: 371.2 kB / 485.7 MB, free: 7.059 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.5676, allocations: 11.98 kB / 485.7 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.5676, allocations: 12.75 kB / 485.7 MB, free: 7.043 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.5678, allocations: 174 kB / 485.9 MB, free: 6.836 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.5678, allocations: 4 kB / 485.9 MB, free: 6.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.5678, allocations: 7.938 kB / 485.9 MB, free: 6.824 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001328/0.568, allocations: 34.56 kB / 485.9 MB, free: 6.805 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.5682, allocations: 71.62 kB / 486 MB, free: 6.742 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.5682, allocations: 5.703 kB / 486 MB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.5682, allocations: 0 / 486 MB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.5682, allocations: 0 / 486 MB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006725/0.5689, allocations: 376.3 kB / 486.4 MB, free: 6.363 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.153e-05/0.569, allocations: 25.83 kB / 486.4 MB, free: 6.332 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.26e-05/0.569, allocations: 12.67 kB / 486.4 MB, free: 6.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.5691, allocations: 0 / 486.4 MB, free: 6.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.5691, allocations: 42.5 kB / 486.5 MB, free: 6.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.5691, allocations: 0 / 486.5 MB, free: 6.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.000262/0.5694, allocations: 52.59 kB / 486.5 MB, free: 6.219 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.5694, allocations: 51.41 kB / 486.6 MB, free: 6.156 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.499e-05/0.5695, allocations: 114 kB / 486.7 MB, free: 6.047 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.5695, allocations: 25.7 kB / 486.7 MB, free: 6.016 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.5696, allocations: 109.8 kB / 486.8 MB, free: 5.914 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.029e-05/0.5696, allocations: 7.844 kB / 486.8 MB, free: 5.906 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.5696, allocations: 4.031 kB / 486.8 MB, free: 5.902 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.604e-05/0.5697, allocations: 322.5 kB / 487.1 MB, free: 5.582 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.719e-05/0.5697, allocations: 8.25 kB / 487.1 MB, free: 5.578 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.078e-05/0.5698, allocations: 21.64 kB / 487.2 MB, free: 5.551 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.065e-05/0.5699, allocations: 15.42 kB / 487.2 MB, free: 5.539 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5699, allocations: 0 / 487.2 MB, free: 5.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000174/0.5701, allocations: 65.05 kB / 487.2 MB, free: 5.477 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.5701, allocations: 13.7 kB / 487.3 MB, free: 5.465 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.5702, allocations: 0.75 kB / 487.3 MB, free: 5.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.5702, allocations: 0 / 487.3 MB, free: 5.465 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.5703, allocations: 15.94 kB / 487.3 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5704, allocations: 3.984 kB / 487.3 MB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.5705, allocations: 12.84 kB / 487.3 MB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.5705, allocations: 8.094 kB / 487.3 MB, free: 5.426 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.681e-05/0.5706, allocations: 108.6 kB / 487.4 MB, free: 5.316 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.5706, allocations: 4 kB / 487.4 MB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.5707, allocations: 8.797 kB / 487.4 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.5707, allocations: 0.7031 kB / 487.4 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5707, allocations: 0 / 487.4 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5707, allocations: 0 / 487.4 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.5709, allocations: 154 kB / 487.6 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5709, allocations: 5.188 kB / 487.6 MB, free: 5.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.449e-05/0.571, allocations: 15.95 kB / 487.6 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.571, allocations: 0 / 487.6 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.5711, allocations: 4 kB / 487.6 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5711, allocations: 1.312 kB / 487.6 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.5711, allocations: 3.984 kB / 487.6 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001765/0.5713, allocations: 151 kB / 487.7 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.5713, allocations: 77.11 kB / 487.8 MB, free: 4.852 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.368e-05/0.5713, allocations: 7.984 kB / 487.8 MB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.5715, allocations: 11.98 kB / 487.8 MB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.5716, allocations: 3.375 kB / 487.8 MB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.5716, allocations: 4.328 kB / 487.9 MB, free: 4.832 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.704e-05/0.5716, allocations: 90.34 kB / 487.9 MB, free: 4.746 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5716, allocations: 0 / 487.9 MB, free: 4.746 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004078/0.5721, allocations: 23.83 kB / 488 MB, free: 4.723 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001394/0.5722, allocations: 110 kB / 488.1 MB, free: 4.609 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.5723, allocations: 22.69 kB / 488.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5724, allocations: 0 / 488.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.583e-05/0.5724, allocations: 13.31 kB / 488.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.5727, allocations: 4 kB / 488.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.573, allocations: 91.3 kB / 488.2 MB, free: 4.477 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.5731, allocations: 0.6972 MB / 488.9 MB, free: 3.754 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.966e-05/0.5732, allocations: 4 kB / 488.9 MB, free: 3.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.824e-05/0.5733, allocations: 11.44 kB / 488.9 MB, free: 3.738 MB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5733, allocations: 0 / 488.9 MB, free: 3.738 MB / 346.7 MB Notification: Performance of Templates: time 0.003418/0.5767, allocations: 0.5369 MB / 489.4 MB, free: 3.238 MB / 346.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.TestBrush.makefile (rm -f HanserModelica_HanserModelica.Electrical.TestBrush.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.TestBrush.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.TestBrush.pipe >> ../files/HanserModelica_HanserModelica.Electrical.TestBrush.sim & ./HanserModelica_HanserModelica.Electrical.TestBrush -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TestBrush.pipe 2>&1)