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.0008976/0.0008977, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.36/1.36, allocations: 223.3 MB / 239.4 MB, free: 5.5 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.001066/0.001066, allocations: 176.5 kB / 290.6 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03249/0.03249, allocations: 8.808 MB / 350.5 MB, free: 4.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003588, allocations: 10.66 kB / 413.8 MB, free: 42.79 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1081, allocations: 52.56 MB / 466.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.002155/0.1103, allocations: 1.49 MB / 467.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008362/0.1112, allocations: 478.9 kB / 468.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.863e-05/0.1112, allocations: 4 kB / 468.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.29e-05/0.1113, allocations: 7.922 kB / 468.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.809e-05/0.1114, allocations: 19.86 kB / 468.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.1116, allocations: 27.97 kB / 468.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.1117, allocations: 79.61 kB / 468.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1118, allocations: 16.27 kB / 468.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.28e-05/0.1119, allocations: 31.91 kB / 468.5 MB, free: 11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.684e-05/0.112, allocations: 35.84 kB / 468.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.112, allocations: 8 kB / 468.6 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.671e-05/0.1121, allocations: 11.94 kB / 468.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.1121, allocations: 15.98 kB / 468.6 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.866e-05/0.1122, allocations: 61.5 kB / 468.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.1123, allocations: 91.66 kB / 468.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1123, allocations: 0 / 468.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1124, allocations: 0 / 468.7 MB, free: 10.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1124, allocations: 0 / 468.7 MB, free: 10.77 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.0004746/0.1128, allocations: 395.1 kB / 469.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1129, allocations: 8.031 kB / 469.1 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.1129, allocations: 8.844 kB / 469.1 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.1131, allocations: 180.2 kB / 469.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1131, allocations: 4.375 kB / 469.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.1131, allocations: 12.36 kB / 469.3 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002772/0.1134, allocations: 102 kB / 469.4 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1134, allocations: 3.938 kB / 469.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.1135, allocations: 3.938 kB / 469.4 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1135, allocations: 0 / 469.4 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002303/0.1137, allocations: 71.95 kB / 469.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005671/0.1143, allocations: 411.4 kB / 469.9 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.1144, allocations: 42.56 kB / 469.9 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.124e-05/0.1145, allocations: 28.91 kB / 470 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.1146, allocations: 0 / 470 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.1146, allocations: 38.56 kB / 470 MB, free: 9.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.1146, allocations: 4 kB / 470 MB, free: 9.316 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003644/0.115, allocations: 109.5 kB / 470.1 MB, free: 9.203 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.115, allocations: 51.53 kB / 470.2 MB, free: 9.141 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.1151, allocations: 129.8 kB / 470.3 MB, free: 9.004 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.1151, allocations: 29.7 kB / 470.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/0.1152, allocations: 112 kB / 470.4 MB, free: 8.855 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.236e-06/0.1152, allocations: 3.906 kB / 470.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.118e-05/0.1152, allocations: 9.719 kB / 470.5 MB, free: 8.836 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.1154, allocations: 322.8 kB / 470.8 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.386e-05/0.1155, allocations: 27.98 kB / 470.8 MB, free: 8.484 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.1156, allocations: 38.56 kB / 470.8 MB, free: 8.438 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.1158, allocations: 74.47 kB / 470.9 MB, free: 8.355 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1158, allocations: 0 / 470.9 MB, free: 8.355 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002308/0.116, allocations: 105.5 kB / 471 MB, free: 8.246 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.116, allocations: 4 kB / 471 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.116, allocations: 0 / 471 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.1161, allocations: 7.938 kB / 471 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.588e-05/0.1162, allocations: 15.98 kB / 471 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.1162, allocations: 0 / 471 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.1162, allocations: 16.08 kB / 471.1 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.1163, allocations: 0 / 471.1 MB, free: 8.203 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 8.369e-05/0.1163, allocations: 121.7 kB / 471.2 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.1164, allocations: 7.906 kB / 471.2 MB, free: 8.066 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.1164, allocations: 7.469 kB / 471.2 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1164, allocations: 3.938 kB / 471.2 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1164, allocations: 3.938 kB / 471.2 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1164, allocations: 0 / 471.2 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.1166, allocations: 181.6 kB / 471.4 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1166, allocations: 4 kB / 471.4 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.028e-05/0.1167, allocations: 11.98 kB / 471.4 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1167, allocations: 0 / 471.4 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1167, allocations: 7.938 kB / 471.4 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1167, allocations: 0 / 471.4 MB, free: 7.801 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1167, allocations: 4 kB / 471.4 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002591/0.117, allocations: 175.5 kB / 471.6 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.563e-05/0.117, allocations: 88.94 kB / 471.7 MB, free: 7.504 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.1171, allocations: 3.938 kB / 471.7 MB, free: 7.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-05/0.1172, allocations: 8 kB / 471.7 MB, free: 7.492 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.1172, allocations: 11.95 kB / 471.7 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.1172, allocations: 0 / 471.7 MB, free: 7.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.762e-05/0.1173, allocations: 99.27 kB / 471.8 MB, free: 7.383 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1173, allocations: 0 / 471.8 MB, free: 7.383 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000232/0.1175, allocations: 12 kB / 471.8 MB, free: 7.371 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.0001378/0.1177, allocations: 99.25 kB / 471.9 MB, free: 7.266 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002337/0.1179, allocations: 59.95 kB / 471.9 MB, free: 7.207 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1179, allocations: 0 / 471.9 MB, free: 7.207 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.182e-05/0.118, allocations: 31.92 kB / 472 MB, free: 7.176 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.1183, allocations: 6.125 kB / 472 MB, free: 7.172 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.1187, allocations: 196.7 kB / 472.2 MB, free: 6.953 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.119, allocations: 0.6887 MB / 472.9 MB, free: 6.238 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.722e-05/0.119, allocations: 12.08 kB / 472.9 MB, free: 6.227 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.1191, allocations: 11.44 kB / 472.9 MB, free: 6.215 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1191, allocations: 0 / 472.9 MB, free: 6.215 MB / 302.1 MB Notification: Performance of Templates: time 0.002787/0.1218, allocations: 0.6279 MB / 473.5 MB, free: 5.594 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: