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.001329/0.00133, allocations: 108 kB / 15.6 MB, free: 132 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.436/1.436, allocations: 222.9 MB / 239.2 MB, free: 4.594 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.001475/0.001475, allocations: 192.5 kB / 289.5 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03698/0.03698, allocations: 8.796 MB / 348.5 MB, free: 4.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 83.95 kB / 411.1 MB, free: 41.97 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09481/0.09649, allocations: 51.56 MB / 462.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.003599/0.1001, allocations: 1.764 MB / 464.4 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009583/0.1011, allocations: 498.8 kB / 464.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.565e-05/0.1012, allocations: 4 kB / 464.9 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.843e-05/0.1013, allocations: 15.86 kB / 464.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.651e-05/0.1015, allocations: 15.8 kB / 464.9 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.1017, allocations: 35.89 kB / 465 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.1018, allocations: 83.66 kB / 465 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.102, allocations: 31.98 kB / 465.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.772e-05/0.1021, allocations: 27.92 kB / 465.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.353e-05/0.1022, allocations: 35.84 kB / 465.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.1022, allocations: 8 kB / 465.1 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.883e-05/0.1023, allocations: 27.92 kB / 465.2 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.371e-05/0.1023, allocations: 15.92 kB / 465.2 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.028e-05/0.1024, allocations: 43.8 kB / 465.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.1025, allocations: 99.95 kB / 465.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/0.1026, allocations: 4 kB / 465.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1026, allocations: 0 / 465.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1026, allocations: 0 / 465.3 MB, free: 11.62 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.0005589/0.1031, allocations: 387.2 kB / 465.7 MB, free: 11.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1032, allocations: 12.03 kB / 465.7 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.55e-05/0.1032, allocations: 12.78 kB / 465.7 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.1034, allocations: 176.3 kB / 465.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.1034, allocations: 8.375 kB / 465.9 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.1034, allocations: 4.375 kB / 465.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.1037, allocations: 96.23 kB / 466 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.1037, allocations: 3.938 kB / 466 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.1037, allocations: 4 kB / 466 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.1037, allocations: 4 kB / 466 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002123/0.104, allocations: 59.95 kB / 466.1 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006526/0.1046, allocations: 399.4 kB / 466.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.1048, allocations: 42.56 kB / 466.5 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.049e-05/0.1049, allocations: 28.89 kB / 466.5 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.1049, allocations: 4 kB / 466.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1049, allocations: 38.48 kB / 466.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/0.1049, allocations: 0 / 466.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003817/0.1053, allocations: 97.58 kB / 466.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.1054, allocations: 55.41 kB / 466.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1055, allocations: 117.8 kB / 466.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.1055, allocations: 25.7 kB / 466.9 MB, free: 9.883 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/0.1056, allocations: 108 kB / 467 MB, free: 9.773 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.126e-05/0.1056, allocations: 11.89 kB / 467 MB, free: 9.762 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.1056, allocations: 13.72 kB / 467 MB, free: 9.742 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1057, allocations: 318.8 kB / 467.3 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.048e-05/0.1058, allocations: 28 kB / 467.3 MB, free: 9.395 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.236e-05/0.1059, allocations: 34.56 kB / 467.4 MB, free: 9.352 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.1061, allocations: 62.47 kB / 467.4 MB, free: 9.281 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1061, allocations: 4 kB / 467.4 MB, free: 9.277 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002193/0.1064, allocations: 81.59 kB / 467.5 MB, free: 9.191 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1064, allocations: 4 kB / 467.5 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1064, allocations: 0 / 467.5 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.1064, allocations: 7.938 kB / 467.5 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.796e-05/0.1065, allocations: 16.08 kB / 467.5 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1065, allocations: 7.938 kB / 467.5 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.658e-05/0.1066, allocations: 7.906 kB / 467.6 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.1066, allocations: 4 kB / 467.6 MB, free: 9.145 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.972e-05/0.1067, allocations: 125.8 kB / 467.7 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.1067, allocations: 0 / 467.7 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.856e-05/0.1068, allocations: 11.47 kB / 467.7 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1068, allocations: 7.875 kB / 467.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/0.1068, allocations: 4 kB / 467.7 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-06/0.1068, allocations: 4 kB / 467.7 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.107, allocations: 181.6 kB / 467.9 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.107, allocations: 0 / 467.9 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.169e-05/0.1071, allocations: 7.984 kB / 467.9 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1071, allocations: 0 / 467.9 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1071, allocations: 3.938 kB / 467.9 MB, free: 8.746 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1071, allocations: 4 kB / 467.9 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1071, allocations: 0 / 467.9 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.1073, allocations: 179.4 kB / 468.1 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.1074, allocations: 81.11 kB / 468.2 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.1074, allocations: 3.938 kB / 468.2 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.093e-05/0.1075, allocations: 7.984 kB / 468.2 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.1075, allocations: 0 / 468.2 MB, free: 8.441 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.1075, allocations: 0 / 468.2 MB, free: 8.441 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.683e-05/0.1076, allocations: 99.27 kB / 468.3 MB, free: 8.344 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1076, allocations: 4.031 kB / 468.3 MB, free: 8.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.1079, allocations: 19.84 kB / 468.3 MB, free: 8.32 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.0001415/0.108, allocations: 103.2 kB / 468.4 MB, free: 8.211 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002329/0.1082, allocations: 51.89 kB / 468.4 MB, free: 8.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1083, allocations: 0 / 468.4 MB, free: 8.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.926e-05/0.1084, allocations: 24.17 kB / 468.5 MB, free: 8.137 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.1087, allocations: 4 kB / 468.5 MB, free: 8.133 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.109, allocations: 155.6 kB / 468.6 MB, free: 7.949 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.1093, allocations: 0.6924 MB / 469.3 MB, free: 7.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.022e-05/0.1093, allocations: 4.25 kB / 469.3 MB, free: 7.227 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.123e-05/0.1093, allocations: 7.438 kB / 469.3 MB, free: 7.219 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1093, allocations: 0 / 469.3 MB, free: 7.219 MB / 302.1 MB Notification: Performance of Templates: time 0.00309/0.1124, allocations: 0.7216 MB / 470 MB, free: 6.504 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)