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.001173/0.00118, allocations: 98.83 kB / 15.05 MB, free: 1.105 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.406/1.406, allocations: 223.2 MB / 238.9 MB, free: 5.676 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.001137/0.001137, allocations: 185 kB / 290.2 MB, free: 2.363 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03345/0.03345, allocations: 8.788 MB / 350.1 MB, free: 4.793 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003732, allocations: 10.06 kB / 413.1 MB, free: 43.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1142, allocations: 52.56 MB / 465.6 MB, free: 13.68 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.002149/0.1164, allocations: 1.43 MB / 467.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007763/0.1172, allocations: 475.3 kB / 467.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.622e-05/0.1173, allocations: 0 / 467.5 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.364e-05/0.1173, allocations: 7.922 kB / 467.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.1175, allocations: 19.95 kB / 467.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.1177, allocations: 27.91 kB / 467.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.1178, allocations: 51.88 kB / 467.6 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.1179, allocations: 23.97 kB / 467.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.354e-05/0.1181, allocations: 31.86 kB / 467.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.1182, allocations: 31.91 kB / 467.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.1182, allocations: 4 kB / 467.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.1183, allocations: 11.98 kB / 467.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.777e-05/0.1183, allocations: 15.94 kB / 467.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.269e-05/0.1184, allocations: 41.64 kB / 467.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.1185, allocations: 72.06 kB / 467.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1185, allocations: 4 kB / 467.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1185, allocations: 0 / 467.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1185, allocations: 4 kB / 467.9 MB, free: 11.41 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.0006511/0.1192, allocations: 383 kB / 468.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.1193, allocations: 8.031 kB / 468.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.931e-05/0.1193, allocations: 15.84 kB / 468.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.1196, allocations: 171 kB / 468.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.1196, allocations: 8 kB / 468.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.1196, allocations: 7.984 kB / 468.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.1199, allocations: 93.59 kB / 468.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1199, allocations: 0 / 468.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.1199, allocations: 0 / 468.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.1199, allocations: 7.953 kB / 468.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.1202, allocations: 75.94 kB / 468.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006891/0.1209, allocations: 407.5 kB / 469 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.121, allocations: 46.55 kB / 469.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.1211, allocations: 0 / 469.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1211, allocations: 38.56 kB / 469.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1211, allocations: 3.938 kB / 469.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.000397/0.1215, allocations: 113.6 kB / 469.2 MB, free: 9.891 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.1216, allocations: 55.41 kB / 469.3 MB, free: 9.824 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.1217, allocations: 121.8 kB / 469.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.1217, allocations: 25.7 kB / 469.4 MB, free: 9.664 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.403e-05/0.1218, allocations: 108 kB / 469.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.1218, allocations: 7.891 kB / 469.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.1218, allocations: 0 / 469.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.122, allocations: 322.8 kB / 469.9 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.19e-05/0.1221, allocations: 28.02 kB / 469.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.1222, allocations: 42.55 kB / 469.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.482e-05/0.1223, allocations: 31.92 kB / 470 MB, free: 9.113 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1224, allocations: 0 / 470 MB, free: 9.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002251/0.1226, allocations: 101.5 kB / 470.1 MB, free: 9.008 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1226, allocations: 4 kB / 470.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1226, allocations: 0 / 470.1 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.1226, allocations: 4 kB / 470.1 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.1228, allocations: 15.98 kB / 470.1 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1228, allocations: 0 / 470.1 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.024e-05/0.1228, allocations: 11.98 kB / 470.1 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.1229, allocations: 4.094 kB / 470.1 MB, free: 8.969 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.432e-05/0.123, allocations: 121.8 kB / 470.2 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.123, allocations: 4 kB / 470.2 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.123, allocations: 3.531 kB / 470.2 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.123, allocations: 0 / 470.2 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.123, allocations: 3.984 kB / 470.2 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1231, allocations: 0 / 470.2 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.1233, allocations: 185.6 kB / 470.4 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1233, allocations: 4 kB / 470.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.469e-05/0.1233, allocations: 12 kB / 470.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1233, allocations: 3.938 kB / 470.4 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.1234, allocations: 3.984 kB / 470.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.1234, allocations: 0 / 470.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1234, allocations: 7.938 kB / 470.4 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.1236, allocations: 179.4 kB / 470.6 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.1237, allocations: 88.97 kB / 470.7 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.1237, allocations: 0 / 470.7 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.848e-05/0.1238, allocations: 11.98 kB / 470.7 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.1238, allocations: 0 / 470.7 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.1238, allocations: 0 / 470.7 MB, free: 8.258 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.491e-05/0.1239, allocations: 99.3 kB / 470.8 MB, free: 8.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1239, allocations: 0 / 470.8 MB, free: 8.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.1242, allocations: 19.94 kB / 470.8 MB, free: 8.141 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001309/0.1243, allocations: 99.78 kB / 470.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002481/0.1246, allocations: 64.02 kB / 471 MB, free: 7.973 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1246, allocations: 3.938 kB / 471 MB, free: 7.969 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.05e-05/0.1247, allocations: 27.98 kB / 471 MB, free: 7.941 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.1249, allocations: 3.984 kB / 471 MB, free: 7.938 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003783/0.1253, allocations: 193 kB / 471.2 MB, free: 7.723 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.1256, allocations: 0.6887 MB / 471.9 MB, free: 7.008 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.067e-05/0.1256, allocations: 4 kB / 471.9 MB, free: 7.004 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.1256, allocations: 11.44 kB / 471.9 MB, free: 6.992 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1256, allocations: 0 / 471.9 MB, free: 6.992 MB / 302.1 MB Notification: Performance of Templates: time 0.003228/0.1289, allocations: 0.6044 MB / 472.5 MB, free: 6.391 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.TestBrush.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: