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.001373/0.001374, allocations: 103.7 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 239.6 MB, free: 4.719 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.001187/0.001187, allocations: 188.5 kB / 289.9 MB, free: 2.465 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03402/0.03402, allocations: 8.806 MB / 348.9 MB, free: 4.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 76.12 kB / 411.2 MB, free: 42.46 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07945/0.0809, allocations: 51.56 MB / 462.8 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.002745/0.08369, allocations: 1.833 MB / 464.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007138/0.08442, allocations: 0.491 MB / 465.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.027e-05/0.08449, allocations: 0 / 465.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.086e-05/0.08455, allocations: 11.92 kB / 465.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.797e-05/0.08464, allocations: 15.84 kB / 465.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001718/0.08482, allocations: 23.98 kB / 465.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.08493, allocations: 87.59 kB / 465.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.08505, allocations: 31.98 kB / 465.3 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.087e-05/0.08512, allocations: 31.92 kB / 465.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.104e-05/0.08518, allocations: 31.84 kB / 465.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.0852, allocations: 8 kB / 465.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.426e-05/0.08527, allocations: 23.98 kB / 465.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.0853, allocations: 15.92 kB / 465.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.846e-05/0.08535, allocations: 39.81 kB / 465.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.08547, allocations: 84.08 kB / 465.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.08548, allocations: 0 / 465.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.0855, allocations: 0 / 465.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.08551, allocations: 3.938 kB / 465.5 MB, free: 12.12 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.0004663/0.08598, allocations: 395.2 kB / 465.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.08602, allocations: 8.031 kB / 465.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.08606, allocations: 8.844 kB / 465.9 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.08619, allocations: 176.3 kB / 466.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.08621, allocations: 4.375 kB / 466.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.08623, allocations: 8.375 kB / 466.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.08644, allocations: 89.91 kB / 466.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.08646, allocations: 3.938 kB / 466.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.08648, allocations: 8 kB / 466.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.08649, allocations: 0 / 466.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001918/0.08668, allocations: 59.94 kB / 466.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005624/0.08725, allocations: 399.5 kB / 466.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.0874, allocations: 42.55 kB / 466.7 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.686e-05/0.0875, allocations: 32.84 kB / 466.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.08753, allocations: 3.984 kB / 466.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.08755, allocations: 30.56 kB / 466.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.08756, allocations: 0 / 466.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003474/0.08791, allocations: 97.42 kB / 466.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.08796, allocations: 55.53 kB / 466.9 MB, free: 10.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.071e-05/0.08805, allocations: 125.8 kB / 467 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.08807, allocations: 33.64 kB / 467.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.08815, allocations: 104 kB / 467.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.426e-06/0.08816, allocations: 3.906 kB / 467.2 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.0882, allocations: 17.72 kB / 467.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.0883, allocations: 314.8 kB / 467.5 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.884e-05/0.08839, allocations: 27.97 kB / 467.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.437e-05/0.08849, allocations: 34.56 kB / 467.6 MB, free: 9.852 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.08866, allocations: 62.47 kB / 467.6 MB, free: 9.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.08867, allocations: 4 kB / 467.6 MB, free: 9.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002055/0.08888, allocations: 81.59 kB / 467.7 MB, free: 9.691 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.08891, allocations: 8 kB / 467.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.08891, allocations: 0 / 467.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.08893, allocations: 3.938 kB / 467.7 MB, free: 9.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.745e-05/0.08902, allocations: 11.98 kB / 467.7 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.08904, allocations: 4 kB / 467.7 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.834e-05/0.0891, allocations: 15.98 kB / 467.8 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.08911, allocations: 4 kB / 467.8 MB, free: 9.645 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 7.632e-05/0.0892, allocations: 121.7 kB / 467.9 MB, free: 9.516 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.08922, allocations: 4 kB / 467.9 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.08926, allocations: 11.47 kB / 467.9 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.08926, allocations: 0 / 467.9 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.08927, allocations: 0 / 467.9 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.08928, allocations: 4 kB / 467.9 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.08945, allocations: 177.6 kB / 468.1 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.08946, allocations: 4 kB / 468.1 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.383e-05/0.08953, allocations: 11.98 kB / 468.1 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.08954, allocations: 4.031 kB / 468.1 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.08956, allocations: 3.938 kB / 468.1 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.08956, allocations: 0 / 468.1 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.08957, allocations: 3.984 kB / 468.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.0898, allocations: 171.4 kB / 468.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.483e-05/0.08985, allocations: 81.11 kB / 468.3 MB, free: 8.965 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.08987, allocations: 7.922 kB / 468.3 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.907e-05/0.08995, allocations: 4 kB / 468.4 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.08999, allocations: 7.938 kB / 468.4 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.09, allocations: 3.984 kB / 468.4 MB, free: 8.941 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.738e-05/0.09006, allocations: 91.28 kB / 468.5 MB, free: 8.852 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09007, allocations: 0 / 468.5 MB, free: 8.852 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002357/0.09031, allocations: 27.86 kB / 468.5 MB, free: 8.824 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 0.0001107/0.09043, allocations: 99.25 kB / 468.6 MB, free: 8.719 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.09066, allocations: 47.95 kB / 468.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.09067, allocations: 0 / 468.6 MB, free: 8.672 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.482e-05/0.09076, allocations: 27.86 kB / 468.7 MB, free: 8.645 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.09107, allocations: 12.09 kB / 468.7 MB, free: 8.637 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.09142, allocations: 208.6 kB / 468.9 MB, free: 8.395 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.09166, allocations: 0.6885 MB / 469.6 MB, free: 7.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.0917, allocations: 15.44 kB / 469.6 MB, free: 7.664 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.0917, allocations: 0 / 469.6 MB, free: 7.664 MB / 302.1 MB Notification: Performance of Templates: time 0.002203/0.09391, allocations: 0.9435 MB / 470.5 MB, free: 6.723 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)