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.001048/0.001048, allocations: 112.5 kB / 16.42 MB, free: 6.453 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.316/1.316, allocations: 222.9 MB / 240.1 MB, free: 4.547 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.001294/0.001294, allocations: 188.5 kB / 290.4 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03582/0.03582, allocations: 8.799 MB / 349.3 MB, free: 4.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001503, allocations: 79.88 kB / 464.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08137/0.08289, allocations: 51.55 MB / 0.504 GB, free: 9.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.002772/0.08569, allocations: 1.783 MB / 0.5058 GB, free: 7.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007203/0.08642, allocations: 0.4909 MB / 0.5063 GB, free: 7.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.565e-05/0.08648, allocations: 4 kB / 0.5063 GB, free: 7.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.237e-05/0.08653, allocations: 7.922 kB / 0.5063 GB, free: 7.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.74e-05/0.08663, allocations: 23.78 kB / 0.5063 GB, free: 7.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.08682, allocations: 31.91 kB / 0.5063 GB, free: 7.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.08693, allocations: 83.66 kB / 0.5064 GB, free: 7.074 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.08705, allocations: 31.97 kB / 0.5064 GB, free: 7.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.43e-05/0.08714, allocations: 35.86 kB / 0.5065 GB, free: 7.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.955e-05/0.08721, allocations: 39.8 kB / 0.5065 GB, free: 6.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.08723, allocations: 8 kB / 0.5065 GB, free: 6.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.931e-05/0.08731, allocations: 19.98 kB / 0.5065 GB, free: 6.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.912e-05/0.08733, allocations: 15.98 kB / 0.5066 GB, free: 6.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.88e-05/0.08739, allocations: 43.8 kB / 0.5066 GB, free: 6.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.08754, allocations: 95.67 kB / 0.5067 GB, free: 6.789 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.08755, allocations: 0 / 0.5067 GB, free: 6.789 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.08756, allocations: 0 / 0.5067 GB, free: 6.789 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.08757, allocations: 4 kB / 0.5067 GB, free: 6.785 MB / 350.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.0005061/0.08808, allocations: 387.2 kB / 0.5071 GB, free: 6.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.08813, allocations: 11.97 kB / 0.5071 GB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.08817, allocations: 8.844 kB / 0.5071 GB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.08831, allocations: 184.2 kB / 0.5073 GB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.08833, allocations: 384 / 0.5073 GB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.08835, allocations: 8.375 kB / 0.5073 GB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.08859, allocations: 99.81 kB / 0.5074 GB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.08861, allocations: 0 / 0.5074 GB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.08862, allocations: 3.984 kB / 0.5074 GB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.08863, allocations: 4 kB / 0.5074 GB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002293/0.08887, allocations: 67.94 kB / 0.5074 GB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006087/0.08949, allocations: 395.4 kB / 0.5078 GB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.08963, allocations: 46.48 kB / 0.5079 GB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.581e-05/0.08973, allocations: 24.91 kB / 0.5079 GB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.08976, allocations: 0 / 0.5079 GB, free: 5.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.08978, allocations: 30.56 kB / 0.5079 GB, free: 5.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.08979, allocations: 0 / 0.5079 GB, free: 5.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000377/0.09017, allocations: 97.67 kB / 0.508 GB, free: 5.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.09021, allocations: 51.41 kB / 0.508 GB, free: 5.207 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.878e-05/0.09032, allocations: 121.8 kB / 0.5082 GB, free: 5.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.09034, allocations: 25.7 kB / 0.5082 GB, free: 5.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.09041, allocations: 115.9 kB / 0.5083 GB, free: 4.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.937e-06/0.09042, allocations: 7.891 kB / 0.5083 GB, free: 4.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/0.09046, allocations: 17.72 kB / 0.5083 GB, free: 4.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.09064, allocations: 310.9 kB / 0.5086 GB, free: 4.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.678e-05/0.09074, allocations: 27.97 kB / 0.5086 GB, free: 4.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.887e-05/0.09085, allocations: 38.56 kB / 0.5087 GB, free: 4.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001851/0.09104, allocations: 66.53 kB / 0.5087 GB, free: 4.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.09105, allocations: 3.938 kB / 0.5087 GB, free: 4.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002416/0.0913, allocations: 81.59 kB / 0.5088 GB, free: 4.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.09132, allocations: 8 kB / 0.5088 GB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.09133, allocations: 0 / 0.5088 GB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.09134, allocations: 3.938 kB / 0.5088 GB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/0.09145, allocations: 16.08 kB / 0.5089 GB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.09146, allocations: 7.938 kB / 0.5089 GB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.456e-05/0.09153, allocations: 4 kB / 0.5089 GB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.09154, allocations: 3.984 kB / 0.5089 GB, free: 4.305 MB / 350.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 8.004e-05/0.09163, allocations: 117.8 kB / 0.509 GB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.09166, allocations: 7.906 kB / 0.509 GB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.0917, allocations: 7.531 kB / 0.509 GB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.09171, allocations: 3.938 kB / 0.509 GB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.09171, allocations: 0 / 0.509 GB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.717e-05/0.09175, allocations: 89.02 kB / 0.5091 GB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.09178, allocations: 3.984 kB / 0.5091 GB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.061e-05/0.09187, allocations: 4 kB / 0.5091 GB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.09191, allocations: 0 / 0.5091 GB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002797/0.09219, allocations: 156.9 kB / 0.5092 GB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002771/0.09248, allocations: 242.8 kB / 0.5095 GB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.667e-05/0.09259, allocations: 27.92 kB / 0.5095 GB, free: 3.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.252e-05/0.09265, allocations: 99.27 kB / 0.5096 GB, free: 3.504 MB / 350.1 MB Notification: Performance of Backend: time 1.9e-07/0.09266, allocations: 0 / 0.5096 GB, free: 3.504 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004401/0.0931, allocations: 115.8 kB / 0.5097 GB, free: 3.387 MB / 350.1 MB Notification: Performance of SimCode: time 0.0005652/0.09368, allocations: 0.6089 MB / 0.5103 GB, free: 2.734 MB / 350.1 MB Notification: Performance of Templates: time 0.003093/0.09678, allocations: 0.8237 MB / 0.5111 GB, free: 1.914 MB / 350.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)