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.001038/0.001038, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.408/1.408, allocations: 223.3 MB / 239.1 MB, free: 5.477 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.001241/0.001241, allocations: 180.5 kB / 290.3 MB, free: 2.164 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03486/0.03486, allocations: 8.808 MB / 350.2 MB, free: 4.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003982, allocations: 14.58 kB / 413.2 MB, free: 43.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1027, allocations: 52.56 MB / 465.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.002005/0.1048, allocations: 1.451 MB / 467.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006895/0.1055, allocations: 475.2 kB / 467.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.427e-05/0.1056, allocations: 0 / 467.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.004e-05/0.1056, allocations: 7.922 kB / 467.7 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.884e-05/0.1057, allocations: 19.86 kB / 467.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.1059, allocations: 23.95 kB / 467.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.106, allocations: 83.59 kB / 467.8 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.1062, allocations: 15.98 kB / 467.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1063, allocations: 27.88 kB / 467.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.07e-05/0.1064, allocations: 31.91 kB / 467.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.1064, allocations: 7.938 kB / 467.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.203e-05/0.1065, allocations: 15.98 kB / 467.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.1065, allocations: 15.98 kB / 467.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.1065, allocations: 37.64 kB / 468 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.1067, allocations: 76.02 kB / 468 MB, free: 11.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1067, allocations: 0 / 468 MB, free: 11.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1067, allocations: 0 / 468 MB, free: 11.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1067, allocations: 0 / 468 MB, free: 11.28 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.0005209/0.1072, allocations: 391 kB / 468.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1073, allocations: 12.03 kB / 468.4 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.1073, allocations: 11.86 kB / 468.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.1075, allocations: 171 kB / 468.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.1075, allocations: 8 kB / 468.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.1075, allocations: 4 kB / 468.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.1077, allocations: 95.89 kB / 468.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1077, allocations: 4 kB / 468.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.1078, allocations: 0 / 468.7 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.1078, allocations: 7.953 kB / 468.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.108, allocations: 67.95 kB / 468.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005777/0.1086, allocations: 411.4 kB / 469.2 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.1087, allocations: 46.56 kB / 469.2 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.109e-05/0.1088, allocations: 32.84 kB / 469.3 MB, free: 9.887 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.1088, allocations: 4 kB / 469.3 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.1088, allocations: 30.56 kB / 469.3 MB, free: 9.844 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1089, allocations: 0 / 469.3 MB, free: 9.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003314/0.1092, allocations: 109.5 kB / 469.4 MB, free: 9.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.1092, allocations: 51.41 kB / 469.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.682e-05/0.1093, allocations: 133.9 kB / 469.6 MB, free: 9.527 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.1094, allocations: 25.7 kB / 469.6 MB, free: 9.496 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.1094, allocations: 108 kB / 469.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.1094, allocations: 3.906 kB / 469.7 MB, free: 9.383 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.1094, allocations: 0 / 469.7 MB, free: 9.383 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.1096, allocations: 318.8 kB / 470 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.199e-05/0.1097, allocations: 35.91 kB / 470.1 MB, free: 9.027 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.346e-05/0.1098, allocations: 42.56 kB / 470.1 MB, free: 8.977 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.53e-05/0.1098, allocations: 31.97 kB / 470.1 MB, free: 8.945 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1099, allocations: 0 / 470.1 MB, free: 8.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002/0.1101, allocations: 97.5 kB / 470.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1101, allocations: 4 kB / 470.2 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1101, allocations: 96 / 470.2 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1101, allocations: 4 kB / 470.2 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.434e-05/0.1102, allocations: 15.98 kB / 470.3 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1102, allocations: 7.938 kB / 470.3 MB, free: 8.812 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.289e-05/0.1103, allocations: 4 kB / 470.3 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.1103, allocations: 8 kB / 470.3 MB, free: 8.801 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 8.327e-05/0.1104, allocations: 125.7 kB / 470.4 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.1104, allocations: 4 kB / 470.4 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.1104, allocations: 7.531 kB / 470.4 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1105, allocations: 0 / 470.4 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1105, allocations: 0 / 470.4 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1105, allocations: 0 / 470.4 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.1106, allocations: 185.6 kB / 470.6 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1107, allocations: 0 / 470.6 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.804e-05/0.1107, allocations: 11.98 kB / 470.6 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.1107, allocations: 0 / 470.6 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.1107, allocations: 0 / 470.6 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1107, allocations: 4 kB / 470.6 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1107, allocations: 4 kB / 470.6 MB, free: 8.406 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.111, allocations: 187.5 kB / 470.8 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.472e-05/0.111, allocations: 85.02 kB / 470.9 MB, free: 8.105 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.1111, allocations: 7.938 kB / 470.9 MB, free: 8.098 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.1111, allocations: 11.98 kB / 470.9 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.1112, allocations: 3.938 kB / 470.9 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.1112, allocations: 0 / 470.9 MB, free: 8.082 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.777e-05/0.1113, allocations: 95.27 kB / 471 MB, free: 7.988 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1113, allocations: 0 / 471 MB, free: 7.988 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.1115, allocations: 15.94 kB / 471 MB, free: 7.973 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.0001224/0.1116, allocations: 107.8 kB / 471.1 MB, free: 7.859 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.1118, allocations: 51.97 kB / 471.2 MB, free: 7.809 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1119, allocations: 192 / 471.2 MB, free: 7.809 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.211e-05/0.1119, allocations: 35.91 kB / 471.2 MB, free: 7.773 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.1122, allocations: 4.766 kB / 471.2 MB, free: 7.77 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.1126, allocations: 192.9 kB / 471.4 MB, free: 7.555 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.1128, allocations: 0.6887 MB / 472.1 MB, free: 6.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.908e-05/0.1129, allocations: 0 / 472.1 MB, free: 6.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.978e-05/0.1129, allocations: 11.44 kB / 472.1 MB, free: 6.828 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1129, allocations: 0 / 472.1 MB, free: 6.828 MB / 302.1 MB Notification: Performance of Templates: time 0.002586/0.1155, allocations: 0.6116 MB / 472.7 MB, free: 6.219 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: