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.0009737/0.0009738, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.247/1.247, allocations: 222.9 MB / 238.9 MB, free: 4.672 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.001111/0.001111, allocations: 188.5 kB / 289.1 MB, free: 2.426 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03203/0.03203, allocations: 8.78 MB / 348.1 MB, free: 4.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 72.61 kB / 410.4 MB, free: 42.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09197/0.09327, allocations: 51.57 MB / 462 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.002765/0.09608, allocations: 1.824 MB / 463.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007637/0.09687, allocations: 0.4949 MB / 464.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.662e-05/0.09692, allocations: 0 / 464.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.984e-05/0.09697, allocations: 7.922 kB / 464.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.835e-05/0.09706, allocations: 19.84 kB / 464.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.09723, allocations: 19.98 kB / 464.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.608e-05/0.09732, allocations: 79.66 kB / 464.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.09743, allocations: 27.98 kB / 464.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.634e-05/0.09751, allocations: 35.8 kB / 464.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.703e-05/0.09757, allocations: 35.84 kB / 464.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.09759, allocations: 4 kB / 464.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.272e-05/0.09766, allocations: 19.98 kB / 464.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.09768, allocations: 11.98 kB / 464.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.489e-05/0.09774, allocations: 31.81 kB / 464.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.09789, allocations: 95.95 kB / 464.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.0979, allocations: 4 kB / 464.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.09791, allocations: 0 / 464.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.828e-06/0.09792, allocations: 0 / 464.7 MB, free: 12.16 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.0005226/0.09844, allocations: 399.1 kB / 465.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.09849, allocations: 8.031 kB / 465.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.09853, allocations: 8.844 kB / 465.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.09868, allocations: 184.2 kB / 465.2 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.0987, allocations: 4.359 kB / 465.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.09873, allocations: 12.38 kB / 465.3 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.09895, allocations: 89.91 kB / 465.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.09896, allocations: 4 kB / 465.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.09898, allocations: 0 / 465.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.09899, allocations: 0 / 465.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002068/0.09921, allocations: 73.94 kB / 465.4 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005639/0.09978, allocations: 399.5 kB / 465.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.09991, allocations: 38.5 kB / 465.9 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.928e-05/0.1, allocations: 28.91 kB / 465.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.1, allocations: 3.984 kB / 465.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.1001, allocations: 30.56 kB / 465.9 MB, free: 10.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.1001, allocations: 4 kB / 465.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003506/0.1004, allocations: 93.48 kB / 466 MB, free: 10.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.1005, allocations: 55.47 kB / 466.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.037e-05/0.1006, allocations: 125.8 kB / 466.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.1006, allocations: 25.7 kB / 466.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.056e-05/0.1006, allocations: 108 kB / 466.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.377e-06/0.1007, allocations: 3.906 kB / 466.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.1007, allocations: 17.72 kB / 466.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.588e-05/0.1008, allocations: 314.8 kB / 466.6 MB, free: 9.953 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.86e-05/0.1009, allocations: 19.98 kB / 466.7 MB, free: 9.934 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.376e-05/0.101, allocations: 42.55 kB / 466.7 MB, free: 9.883 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.1012, allocations: 62.48 kB / 466.8 MB, free: 9.812 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1012, allocations: 0 / 466.8 MB, free: 9.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002073/0.1014, allocations: 85.59 kB / 466.9 MB, free: 9.723 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1014, allocations: 8 kB / 466.9 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1014, allocations: 0 / 466.9 MB, free: 9.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.1014, allocations: 7.922 kB / 466.9 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.985e-05/0.1015, allocations: 11.94 kB / 466.9 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.1016, allocations: 4 kB / 466.9 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.89e-05/0.1016, allocations: 15.98 kB / 466.9 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.1016, allocations: 0 / 466.9 MB, free: 9.676 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.932e-05/0.1017, allocations: 117.8 kB / 467 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.1017, allocations: 4 kB / 467 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.1018, allocations: 15.45 kB / 467 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1018, allocations: 0 / 467 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1018, allocations: 4 kB / 467 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1018, allocations: 0 / 467 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.102, allocations: 177.6 kB / 467.2 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.102, allocations: 0 / 467.2 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.245e-05/0.1021, allocations: 23.92 kB / 467.2 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1021, allocations: 0 / 467.2 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.1021, allocations: 3.938 kB / 467.2 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1021, allocations: 0 / 467.2 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1021, allocations: 0 / 467.2 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.1023, allocations: 171.4 kB / 467.4 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.002e-05/0.1024, allocations: 77.11 kB / 467.5 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.1024, allocations: 7.875 kB / 467.5 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.669e-05/0.1025, allocations: 7.984 kB / 467.5 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.1025, allocations: 4 kB / 467.5 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.1025, allocations: 0 / 467.5 MB, free: 8.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.298e-05/0.1026, allocations: 99.27 kB / 467.6 MB, free: 8.883 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1026, allocations: 0 / 467.6 MB, free: 8.883 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.1028, allocations: 19.84 kB / 467.6 MB, free: 8.863 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.0001136/0.1029, allocations: 103.4 kB / 467.7 MB, free: 8.754 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.1031, allocations: 47.91 kB / 467.8 MB, free: 8.707 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1031, allocations: 0 / 467.8 MB, free: 8.707 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.451e-05/0.1032, allocations: 23.97 kB / 467.8 MB, free: 8.684 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.1035, allocations: 11.98 kB / 467.8 MB, free: 8.672 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.1039, allocations: 184.8 kB / 468 MB, free: 8.461 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.1041, allocations: 0.6887 MB / 468.7 MB, free: 7.746 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.476e-05/0.1041, allocations: 8 kB / 468.7 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.1042, allocations: 11.44 kB / 468.7 MB, free: 7.727 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1042, allocations: 0 / 468.7 MB, free: 7.727 MB / 302.1 MB Notification: Performance of Templates: time 0.00249/0.1067, allocations: 0.6316 MB / 469.3 MB, free: 7.102 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)