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/ModelicaServices 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/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) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008887/0.0008888, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 223.3 MB / 240 MB, free: 5.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009905/0.0009906, allocations: 176.5 kB / 291.3 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0349/0.0349, allocations: 8.801 MB / 351.2 MB, free: 4.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003207, allocations: 12.25 kB / 414.5 MB, free: 42.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06387/0.06421, allocations: 52.56 MB / 467 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.001692/0.06594, allocations: 1.486 MB / 468.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007104/0.06667, allocations: 486.9 kB / 469 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.961e-05/0.06672, allocations: 4 kB / 469 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.792e-05/0.06676, allocations: 7.922 kB / 469 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.272e-05/0.06685, allocations: 15.86 kB / 469 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001466/0.067, allocations: 27.95 kB / 469 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.524e-05/0.0671, allocations: 79.66 kB / 469.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.06722, allocations: 24.28 kB / 469.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.377e-05/0.06729, allocations: 31.8 kB / 469.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/0.06735, allocations: 31.84 kB / 469.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.06738, allocations: 4 kB / 469.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.722e-05/0.06744, allocations: 23.92 kB / 469.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.06746, allocations: 7.984 kB / 469.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.819e-05/0.06752, allocations: 61.5 kB / 469.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.06763, allocations: 71.8 kB / 469.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.06764, allocations: 0 / 469.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.06765, allocations: 0 / 469.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.06765, allocations: 0 / 469.4 MB, free: 10.76 MB / 302.1 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.0004321/0.06809, allocations: 391.2 kB / 469.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.06813, allocations: 8.031 kB / 469.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.06817, allocations: 8.844 kB / 469.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.0683, allocations: 184.1 kB / 470 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.06832, allocations: 4.375 kB / 470 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.06834, allocations: 8.375 kB / 470 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.06856, allocations: 93.97 kB / 470.1 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.06858, allocations: 0 / 470.1 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.0686, allocations: 8 kB / 470.1 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.06861, allocations: 0 / 470.1 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.06884, allocations: 79.83 kB / 470.1 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000543/0.06939, allocations: 407.4 kB / 470.5 MB, free: 9.445 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.06954, allocations: 46.56 kB / 470.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.883e-05/0.06965, allocations: 32.89 kB / 470.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.06967, allocations: 0 / 470.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.0697, allocations: 38.56 kB / 470.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.0697, allocations: 0 / 470.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003692/0.07008, allocations: 109.6 kB / 470.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.07012, allocations: 51.41 kB / 470.8 MB, free: 9.133 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.655e-05/0.07021, allocations: 125.8 kB / 470.9 MB, free: 9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.07023, allocations: 25.7 kB / 471 MB, free: 8.969 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.07028, allocations: 104 kB / 471.1 MB, free: 8.863 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.373e-06/0.0703, allocations: 7.906 kB / 471.1 MB, free: 8.855 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.07033, allocations: 17.7 kB / 471.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.16e-05/0.07041, allocations: 314.9 kB / 471.4 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.621e-05/0.07052, allocations: 23.98 kB / 471.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.07063, allocations: 50.53 kB / 471.5 MB, free: 8.434 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.07083, allocations: 74.48 kB / 471.5 MB, free: 8.352 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.07084, allocations: 3.938 kB / 471.5 MB, free: 8.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000243/0.07109, allocations: 101.5 kB / 471.6 MB, free: 8.242 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.07111, allocations: 4 kB / 471.7 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.07112, allocations: 3.984 kB / 471.7 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.07114, allocations: 7.938 kB / 471.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.899e-05/0.07123, allocations: 12.09 kB / 471.7 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.07125, allocations: 7.984 kB / 471.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.07132, allocations: 4 kB / 471.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.07133, allocations: 4 kB / 471.7 MB, free: 8.199 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.647e-05/0.0714, allocations: 117.8 kB / 471.8 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.07144, allocations: 7.906 kB / 471.8 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.07147, allocations: 15.45 kB / 471.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.07147, allocations: 3.938 kB / 471.8 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.07149, allocations: 8 kB / 471.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.07149, allocations: 0 / 471.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.07166, allocations: 185.6 kB / 472 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.07167, allocations: 0 / 472 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.898e-05/0.07174, allocations: 11.98 kB / 472 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.07175, allocations: 0 / 472 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.07176, allocations: 3.938 kB / 472 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.07177, allocations: 0 / 472 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.07177, allocations: 0 / 472 MB, free: 7.793 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.07203, allocations: 179.5 kB / 472.2 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.07208, allocations: 84.95 kB / 472.3 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.0721, allocations: 3.938 kB / 472.3 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.812e-05/0.07219, allocations: 16.02 kB / 472.3 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.222e-05/0.07222, allocations: 0 / 472.3 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.07223, allocations: 4 kB / 472.3 MB, free: 7.477 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.884e-05/0.07229, allocations: 95.27 kB / 472.4 MB, free: 7.383 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07229, allocations: 3.938 kB / 472.4 MB, free: 7.379 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.07254, allocations: 12 kB / 472.4 MB, free: 7.367 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.791e-05/0.07264, allocations: 103.2 kB / 472.5 MB, free: 7.258 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.07288, allocations: 55.97 kB / 472.6 MB, free: 7.203 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.07289, allocations: 0 / 472.6 MB, free: 7.203 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.073, allocations: 40.09 kB / 472.6 MB, free: 7.164 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.07327, allocations: 8 kB / 472.6 MB, free: 7.156 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003173/0.07359, allocations: 210.5 kB / 472.8 MB, free: 6.918 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.07384, allocations: 0.6965 MB / 473.5 MB, free: 6.195 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.07387, allocations: 11.44 kB / 473.5 MB, free: 6.184 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.07387, allocations: 0 / 473.5 MB, free: 6.184 MB / 302.1 MB Notification: Performance of Templates: time 0.002167/0.07605, allocations: 0.9343 MB / 474.5 MB, free: 5.254 MB / 302.1 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)