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.004648/0.004649, allocations: 173.6 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0369/0.0369, allocations: 8.799 MB / 24.65 MB, free: 4.109 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 223.2 MB / 250.7 MB, free: 6.477 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.0008264/0.0008263, allocations: 99.61 kB / 304 MB, free: 4.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003459, allocations: 12 kB / 367.1 MB, free: 4.957 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2142, allocations: 52.54 MB / 419.6 MB, free: 48.18 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08437/0.2986, allocations: 78.92 MB / 498.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001837/0.2989, allocations: 63.97 kB / 498.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005029/0.3039, allocations: 1.938 MB / 0.4888 GB, free: 8.199 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3039, allocations: 0 / 0.4888 GB, free: 8.199 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.3039, allocations: 4 kB / 0.4888 GB, free: 8.195 MB / 362.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.0004185/0.3044, allocations: 390.4 kB / 0.4892 GB, free: 7.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3044, allocations: 8.562 kB / 0.4892 GB, free: 7.762 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.384e-05/0.3045, allocations: 11.86 kB / 0.4892 GB, free: 7.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.3046, allocations: 175.1 kB / 0.4894 GB, free: 7.539 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.3046, allocations: 11.94 kB / 0.4894 GB, free: 7.527 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.3046, allocations: 8 kB / 0.4894 GB, free: 7.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.3048, allocations: 85.66 kB / 0.4895 GB, free: 7.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3049, allocations: 3.984 kB / 0.4895 GB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.3049, allocations: 8 kB / 0.4895 GB, free: 7.418 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.3049, allocations: 7.953 kB / 0.4895 GB, free: 7.41 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002099/0.3051, allocations: 79.89 kB / 0.4896 GB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/0.3057, allocations: 415.4 kB / 0.49 GB, free: 6.871 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.3058, allocations: 42.55 kB / 0.49 GB, free: 6.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.3058, allocations: 0 / 0.49 GB, free: 6.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.3059, allocations: 38.62 kB / 0.49 GB, free: 6.773 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.3059, allocations: 0 / 0.49 GB, free: 6.773 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003487/0.3062, allocations: 109.7 kB / 0.4901 GB, free: 6.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.3063, allocations: 51.41 kB / 0.4902 GB, free: 6.598 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.671e-05/0.3064, allocations: 112.9 kB / 0.4903 GB, free: 6.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.3064, allocations: 29.7 kB / 0.4903 GB, free: 6.445 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.3064, allocations: 104 kB / 0.4904 GB, free: 6.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.905e-06/0.3064, allocations: 3.906 kB / 0.4904 GB, free: 6.336 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/0.3065, allocations: 0 / 0.4904 GB, free: 6.336 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.436e-05/0.3065, allocations: 322.8 kB / 0.4907 GB, free: 6.012 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.798e-05/0.3066, allocations: 32 kB / 0.4908 GB, free: 5.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-05/0.3067, allocations: 38.56 kB / 0.4908 GB, free: 5.934 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.76e-05/0.3068, allocations: 31.97 kB / 0.4908 GB, free: 5.902 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3068, allocations: 0 / 0.4908 GB, free: 5.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002101/0.3071, allocations: 97.66 kB / 0.4909 GB, free: 5.801 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3071, allocations: 4 kB / 0.4909 GB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.3071, allocations: 0 / 0.4909 GB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.3071, allocations: 4 kB / 0.4909 GB, free: 5.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.386e-05/0.3072, allocations: 23.92 kB / 0.4909 GB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3072, allocations: 0 / 0.4909 GB, free: 5.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.3073, allocations: 8 kB / 0.491 GB, free: 5.762 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.3073, allocations: 0 / 0.491 GB, free: 5.762 MB / 362.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 7.027e-05/0.3074, allocations: 125.8 kB / 0.4911 GB, free: 5.629 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.3074, allocations: 7.906 kB / 0.4911 GB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.3074, allocations: 3.531 kB / 0.4911 GB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.3074, allocations: 0 / 0.4911 GB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3074, allocations: 0 / 0.4911 GB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.3074, allocations: 0 / 0.4911 GB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.3076, allocations: 193.5 kB / 0.4913 GB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3076, allocations: 0 / 0.4913 GB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.493e-05/0.3077, allocations: 15.92 kB / 0.4913 GB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3077, allocations: 4 kB / 0.4913 GB, free: 5.359 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.3077, allocations: 3.938 kB / 0.4913 GB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.3077, allocations: 4 kB / 0.4913 GB, free: 5.352 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.3077, allocations: 0 / 0.4913 GB, free: 5.352 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.308, allocations: 187.4 kB / 0.4915 GB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.308, allocations: 81.06 kB / 0.4916 GB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.308, allocations: 0 / 0.4916 GB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.293e-05/0.3081, allocations: 11.98 kB / 0.4916 GB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.3082, allocations: 0 / 0.4916 GB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.3082, allocations: 0 / 0.4916 GB, free: 5.043 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.996e-05/0.3082, allocations: 101.5 kB / 0.4917 GB, free: 4.945 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3082, allocations: 4.031 kB / 0.4917 GB, free: 4.941 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002121/0.3084, allocations: 15.91 kB / 0.4917 GB, free: 4.926 MB / 362.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.0001076/0.3086, allocations: 103.2 kB / 0.4918 GB, free: 4.816 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.3088, allocations: 64.02 kB / 0.4918 GB, free: 4.754 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3088, allocations: 0 / 0.4918 GB, free: 4.754 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.3e-05/0.3089, allocations: 27.98 kB / 0.4919 GB, free: 4.727 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.3091, allocations: 4 kB / 0.4919 GB, free: 4.723 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.3094, allocations: 193.5 kB / 0.4921 GB, free: 4.508 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002143/0.3096, allocations: 0.694 MB / 0.4927 GB, free: 3.789 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.616e-05/0.3097, allocations: 8 kB / 0.4927 GB, free: 3.781 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.98e-05/0.3097, allocations: 11.38 kB / 0.4928 GB, free: 3.77 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3097, allocations: 8 kB / 0.4928 GB, free: 3.762 MB / 362.7 MB Notification: Performance of Templates: time 0.002274/0.312, allocations: 0.5969 MB / 0.4933 GB, free: 3.168 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)