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.001567/0.001567, allocations: 113.8 kB / 16.42 MB, free: 6.441 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.569/1.569, allocations: 222.9 MB / 240.1 MB, free: 4.348 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.001302/0.001302, allocations: 188.5 kB / 290.4 MB, free: 2.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03508/0.03508, allocations: 8.793 MB / 349.3 MB, free: 4.551 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 75.88 kB / 464.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08989/0.09134, allocations: 51.57 MB / 0.5041 GB, free: 9.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.002701/0.09407, allocations: 1.769 MB / 0.5058 GB, free: 7.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007767/0.09487, allocations: 0.4909 MB / 0.5063 GB, free: 7.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.09493, allocations: 0 / 0.5063 GB, free: 7.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.967e-05/0.09501, allocations: 11.86 kB / 0.5063 GB, free: 7.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.873e-05/0.0951, allocations: 23.8 kB / 0.5063 GB, free: 7.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.0953, allocations: 35.89 kB / 0.5063 GB, free: 7.066 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.09542, allocations: 87.66 kB / 0.5064 GB, free: 6.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.09556, allocations: 27.98 kB / 0.5064 GB, free: 6.953 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.273e-05/0.09564, allocations: 27.92 kB / 0.5065 GB, free: 6.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.89e-05/0.09572, allocations: 47.77 kB / 0.5065 GB, free: 6.879 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.09574, allocations: 8 kB / 0.5065 GB, free: 6.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.472e-05/0.09582, allocations: 19.98 kB / 0.5065 GB, free: 6.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.09585, allocations: 19.92 kB / 0.5066 GB, free: 6.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.0959, allocations: 35.81 kB / 0.5066 GB, free: 6.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.09606, allocations: 99.67 kB / 0.5067 GB, free: 6.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.09607, allocations: 0 / 0.5067 GB, free: 6.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.09607, allocations: 0 / 0.5067 GB, free: 6.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.09608, allocations: 0 / 0.5067 GB, free: 6.699 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.0005374/0.09663, allocations: 395.2 kB / 0.5071 GB, free: 6.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.09668, allocations: 8.031 kB / 0.5071 GB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.09672, allocations: 12.78 kB / 0.5071 GB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.09686, allocations: 168.3 kB / 0.5072 GB, free: 6.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.09689, allocations: 20.23 kB / 0.5073 GB, free: 6.023 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.09691, allocations: 4.375 kB / 0.5073 GB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.09714, allocations: 93.91 kB / 0.5074 GB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.09716, allocations: 4 kB / 0.5074 GB, free: 5.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.09718, allocations: 4 kB / 0.5074 GB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.09719, allocations: 0 / 0.5074 GB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.09741, allocations: 59.95 kB / 0.5074 GB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006026/0.09802, allocations: 399.4 kB / 0.5078 GB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.09816, allocations: 38.56 kB / 0.5078 GB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.754e-05/0.09826, allocations: 24.91 kB / 0.5079 GB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.09829, allocations: 3.984 kB / 0.5079 GB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.09831, allocations: 34.5 kB / 0.5079 GB, free: 5.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.09832, allocations: 0 / 0.5079 GB, free: 5.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003804/0.0987, allocations: 97.58 kB / 0.508 GB, free: 5.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.09874, allocations: 51.41 kB / 0.508 GB, free: 5.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.672e-05/0.09884, allocations: 117.8 kB / 0.5082 GB, free: 4.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.09886, allocations: 25.7 kB / 0.5082 GB, free: 4.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.09893, allocations: 115.9 kB / 0.5083 GB, free: 4.848 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.365e-06/0.09894, allocations: 7.906 kB / 0.5083 GB, free: 4.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.09898, allocations: 17.84 kB / 0.5083 GB, free: 4.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.965e-05/0.09909, allocations: 318.8 kB / 0.5086 GB, free: 4.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.148e-05/0.09918, allocations: 19.98 kB / 0.5086 GB, free: 4.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.09929, allocations: 50.47 kB / 0.5087 GB, free: 4.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/0.09948, allocations: 58.55 kB / 0.5087 GB, free: 4.352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.09949, allocations: 0 / 0.5087 GB, free: 4.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002268/0.09973, allocations: 85.59 kB / 0.5088 GB, free: 4.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.09975, allocations: 4 kB / 0.5088 GB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.09976, allocations: 4.094 kB / 0.5088 GB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.09978, allocations: 11.92 kB / 0.5088 GB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.528e-05/0.09988, allocations: 11.94 kB / 0.5089 GB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.09989, allocations: 0 / 0.5089 GB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.099e-05/0.09996, allocations: 11.92 kB / 0.5089 GB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.09997, allocations: 4 kB / 0.5089 GB, free: 4.215 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.093e-05/0.1001, allocations: 117.8 kB / 0.509 GB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.1001, allocations: 7.906 kB / 0.509 GB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.1001, allocations: 15.52 kB / 0.509 GB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1001, allocations: 3.938 kB / 0.509 GB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1001, allocations: 0 / 0.509 GB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.1002, allocations: 85.02 kB / 0.5091 GB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.1002, allocations: 4 kB / 0.5091 GB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.139e-05/0.1003, allocations: 7.984 kB / 0.5091 GB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.1003, allocations: 0 / 0.5091 GB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000264/0.1006, allocations: 160.8 kB / 0.5093 GB, free: 3.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002655/0.1009, allocations: 238.7 kB / 0.5095 GB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.558e-05/0.101, allocations: 23.97 kB / 0.5095 GB, free: 3.508 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.946e-05/0.1011, allocations: 99.27 kB / 0.5096 GB, free: 3.41 MB / 350.1 MB Notification: Performance of Backend: time 2.91e-07/0.1011, allocations: 4.062 kB / 0.5096 GB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004384/0.1015, allocations: 106.3 kB / 0.5097 GB, free: 3.297 MB / 350.1 MB Notification: Performance of SimCode: time 0.0005846/0.1021, allocations: 0.6089 MB / 0.5103 GB, free: 2.645 MB / 350.1 MB Notification: Performance of Templates: time 0.003075/0.1052, allocations: 0.8289 MB / 0.5111 GB, free: 1.82 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)