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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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 3.2.3+maint.om/package.mo): time 0.002132/0.002132, allocations: 176 kB / 16.12 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.069/0.069, allocations: 8.775 MB / 25.64 MB, free: 3.805 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.4 MB / 233.9 MB, free: 12.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008157/0.0008156, allocations: 86.31 kB / 284.4 MB, free: 14.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004012, allocations: 16 kB / 344.8 MB, free: 1.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2307, allocations: 49.71 MB / 394.5 MB, free: 36.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09663/0.3274, allocations: 77.75 MB / 472.3 MB, free: 6.902 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.3277, allocations: 67.97 kB / 472.3 MB, free: 6.836 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005325/0.333, allocations: 1.857 MB / 474.2 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.333, allocations: 0 / 474.2 MB, free: 4.973 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.333, allocations: 0 / 474.2 MB, free: 4.973 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.0005156/0.3336, allocations: 387.2 kB / 474.6 MB, free: 4.543 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.3336, allocations: 12.03 kB / 474.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.3337, allocations: 8.844 kB / 474.6 MB, free: 4.523 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.3339, allocations: 184.3 kB / 474.8 MB, free: 4.305 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.3339, allocations: 4.375 kB / 474.8 MB, free: 4.301 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.3339, allocations: 8.375 kB / 474.8 MB, free: 4.293 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.3342, allocations: 94.16 kB / 474.9 MB, free: 4.195 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3342, allocations: 192 / 474.9 MB, free: 4.195 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.3342, allocations: 3.938 kB / 474.9 MB, free: 4.191 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.3342, allocations: 4 kB / 474.9 MB, free: 4.188 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002175/0.3345, allocations: 75.88 kB / 474.9 MB, free: 4.113 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006375/0.3351, allocations: 399.5 kB / 475.3 MB, free: 3.664 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.3353, allocations: 54.55 kB / 475.4 MB, free: 3.602 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.99e-05/0.3354, allocations: 24.91 kB / 475.4 MB, free: 3.574 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.3354, allocations: 4 kB / 475.4 MB, free: 3.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.3354, allocations: 34.56 kB / 475.4 MB, free: 3.527 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.3354, allocations: 0 / 475.4 MB, free: 3.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003591/0.3358, allocations: 109.6 kB / 475.6 MB, free: 3.414 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3358, allocations: 59.34 kB / 475.6 MB, free: 3.344 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.336, allocations: 133.7 kB / 475.7 MB, free: 3.203 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.336, allocations: 25.7 kB / 475.8 MB, free: 3.172 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.3361, allocations: 104 kB / 475.9 MB, free: 3.066 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.857e-06/0.3361, allocations: 7.844 kB / 475.9 MB, free: 3.059 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.3361, allocations: 0 / 475.9 MB, free: 3.059 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3362, allocations: 318.8 kB / 476.2 MB, free: 2.738 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-05/0.3363, allocations: 32 kB / 476.2 MB, free: 2.707 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.3364, allocations: 38.56 kB / 476.3 MB, free: 2.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.3366, allocations: 74.47 kB / 476.3 MB, free: 2.578 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3366, allocations: 0 / 476.3 MB, free: 2.578 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002182/0.3368, allocations: 105.5 kB / 476.4 MB, free: 2.469 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.3369, allocations: 4 kB / 476.4 MB, free: 2.465 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3369, allocations: 0 / 476.4 MB, free: 2.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3369, allocations: 4 kB / 476.4 MB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.337, allocations: 19.92 kB / 476.5 MB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3371, allocations: 4.094 kB / 476.5 MB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.964e-05/0.3371, allocations: 8 kB / 476.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.3371, allocations: 3.984 kB / 476.5 MB, free: 2.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 () * Number of clocked 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 8.355e-05/0.3372, allocations: 117.8 kB / 476.6 MB, free: 2.301 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.3373, allocations: 4 kB / 476.6 MB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.178e-05/0.3373, allocations: 7.484 kB / 476.6 MB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.3373, allocations: 3.938 kB / 476.6 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3373, allocations: 7.938 kB / 476.6 MB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3373, allocations: 4 kB / 476.6 MB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.3375, allocations: 185.5 kB / 476.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3375, allocations: 0 / 476.8 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.29e-05/0.3376, allocations: 11.98 kB / 476.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3376, allocations: 0 / 476.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.3376, allocations: 0 / 476.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.3376, allocations: 7.938 kB / 476.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3376, allocations: 0 / 476.8 MB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/0.3379, allocations: 179.6 kB / 477 MB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.3379, allocations: 85 kB / 477.1 MB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.302e-05/0.338, allocations: 3.984 kB / 477.1 MB, free: 1.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.136e-05/0.3381, allocations: 15.97 kB / 477.1 MB, free: 1.711 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.3381, allocations: 3.984 kB / 477.1 MB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.3381, allocations: 3.938 kB / 477.1 MB, free: 1.703 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.297e-05/0.3382, allocations: 95.28 kB / 477.2 MB, free: 1.609 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.412e-06/0.3382, allocations: 0 / 477.2 MB, free: 1.609 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002448/0.3384, allocations: 27.86 kB / 477.2 MB, free: 1.582 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 () * Number of clocked 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.0001363/0.3386, allocations: 95.25 kB / 477.3 MB, free: 1.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.3388, allocations: 59.95 kB / 477.4 MB, free: 1.422 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3388, allocations: 0 / 477.4 MB, free: 1.422 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.1e-05/0.3389, allocations: 28.17 kB / 477.4 MB, free: 1.395 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.3392, allocations: 15.94 kB / 477.4 MB, free: 1.379 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.3396, allocations: 184.7 kB / 477.6 MB, free: 1.172 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.3399, allocations: 0.6926 MB / 478.3 MB, free: 464 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.509e-05/0.3399, allocations: 4 kB / 478.3 MB, free: 460 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.34, allocations: 7.438 kB / 478.3 MB, free: 452 kB / 346.7 MB Notification: Performance of SimCode: time 4.41e-07/0.34, allocations: 0 / 478.3 MB, free: 452 kB / 346.7 MB Notification: Performance of Templates: time 0.002672/0.3427, allocations: 0.6097 MB / 478.9 MB, free: 15.83 MB / 362.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)