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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03757/0.03757, allocations: 8.795 MB / 25.53 MB, free: 3.754 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 251.3 MB, free: 7.426 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009306/0.0009307, allocations: 121.3 kB / 303.6 MB, free: 14.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.91 kB / 366 MB, free: 192 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2045, allocations: 51.55 MB / 417.5 MB, free: 20.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TestBrush): time 0.002462/0.207, allocations: 1.826 MB / 419.4 MB, free: 19.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005945/0.2076, allocations: 0.5026 MB / 419.9 MB, free: 18.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.48e-05/0.2076, allocations: 0 / 419.9 MB, free: 18.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.312e-05/0.2077, allocations: 3.984 kB / 419.9 MB, free: 18.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.106e-05/0.2078, allocations: 15.86 kB / 419.9 MB, free: 18.58 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.2079, allocations: 31.89 kB / 419.9 MB, free: 18.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.782e-05/0.208, allocations: 75.67 kB / 420 MB, free: 18.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.2081, allocations: 34.09 kB / 420 MB, free: 18.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.968e-05/0.2082, allocations: 27.92 kB / 420 MB, free: 18.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.668e-05/0.2083, allocations: 43.77 kB / 420.1 MB, free: 18.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.2083, allocations: 4 kB / 420.1 MB, free: 18.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.777e-05/0.2084, allocations: 19.98 kB / 420.1 MB, free: 18.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.2084, allocations: 11.92 kB / 420.1 MB, free: 18.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.2084, allocations: 35.81 kB / 420.2 MB, free: 18.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.2085, allocations: 95.67 kB / 420.2 MB, free: 18.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2085, allocations: 0 / 420.2 MB, free: 18.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.2086, allocations: 0 / 420.2 MB, free: 18.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.2086, allocations: 0 / 420.2 MB, free: 18.21 MB / 298.7 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.0004287/0.209, allocations: 395.2 kB / 420.6 MB, free: 17.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.209, allocations: 12.03 kB / 420.6 MB, free: 17.76 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.2091, allocations: 8.844 kB / 420.7 MB, free: 17.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.463e-05/0.2092, allocations: 180.1 kB / 420.8 MB, free: 17.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.2092, allocations: 4.375 kB / 420.8 MB, free: 17.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.2092, allocations: 8.375 kB / 420.8 MB, free: 17.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.2094, allocations: 89.95 kB / 420.9 MB, free: 17.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.2094, allocations: 4 kB / 420.9 MB, free: 17.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.2095, allocations: 4 kB / 420.9 MB, free: 17.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.2095, allocations: 3.984 kB / 420.9 MB, free: 17.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.2097, allocations: 67.89 kB / 421 MB, free: 17.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.2101, allocations: 395.5 kB / 421.4 MB, free: 16.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.2102, allocations: 38.56 kB / 421.4 MB, free: 16.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.2103, allocations: 20.91 kB / 421.5 MB, free: 16.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.2104, allocations: 7.875 kB / 421.5 MB, free: 16.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.2104, allocations: 42.55 kB / 421.5 MB, free: 16.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.2104, allocations: 0 / 421.5 MB, free: 16.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003285/0.2107, allocations: 89.58 kB / 421.6 MB, free: 16.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.819e-05/0.2108, allocations: 55.41 kB / 421.6 MB, free: 16.62 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.888e-05/0.2108, allocations: 117.8 kB / 421.8 MB, free: 16.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.253e-06/0.2108, allocations: 25.7 kB / 421.8 MB, free: 16.47 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.2109, allocations: 112 kB / 421.9 MB, free: 16.36 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.074e-06/0.2109, allocations: 11.84 kB / 421.9 MB, free: 16.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.2109, allocations: 13.72 kB / 421.9 MB, free: 16.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.53e-05/0.211, allocations: 322.8 kB / 422.2 MB, free: 16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.2111, allocations: 15.98 kB / 422.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.048e-05/0.2112, allocations: 42.48 kB / 422.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.2113, allocations: 58.55 kB / 422.3 MB, free: 15.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2113, allocations: 0 / 422.3 MB, free: 15.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001851/0.2115, allocations: 85.59 kB / 422.4 MB, free: 15.78 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.2115, allocations: 8 kB / 422.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.2115, allocations: 0 / 422.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2116, allocations: 3.938 kB / 422.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.552e-05/0.2116, allocations: 23.92 kB / 422.5 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.2117, allocations: 0 / 422.5 MB, free: 15.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.256e-05/0.2117, allocations: 7.984 kB / 422.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.2117, allocations: 4 kB / 422.5 MB, free: 15.73 MB / 298.7 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 5.072e-05/0.2118, allocations: 118.4 kB / 422.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/0.2118, allocations: 7.906 kB / 422.6 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.2118, allocations: 11.45 kB / 422.6 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.2118, allocations: 4 kB / 422.6 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.2118, allocations: 0 / 422.6 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2119, allocations: 0 / 422.6 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.212, allocations: 181.6 kB / 422.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.212, allocations: 0 / 422.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.438e-05/0.212, allocations: 15.92 kB / 422.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.2121, allocations: 0 / 422.8 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.2121, allocations: 11.88 kB / 422.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2121, allocations: 4 kB / 422.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2121, allocations: 0 / 422.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.2125, allocations: 0.7434 MB / 423.6 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.039e-05/0.2125, allocations: 81.02 kB / 423.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.2125, allocations: 0 / 423.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.373e-05/0.2126, allocations: 7.984 kB / 423.7 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.262e-05/0.2126, allocations: 7.938 kB / 423.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.2126, allocations: 4 kB / 423.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.293e-05/0.2127, allocations: 95.64 kB / 423.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2127, allocations: 0 / 423.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000308/0.213, allocations: 19.94 kB / 423.8 MB, free: 14.29 MB / 298.7 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 8.608e-05/0.2131, allocations: 107.2 kB / 423.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.2133, allocations: 39.97 kB / 423.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2133, allocations: 0 / 423.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.936e-05/0.2134, allocations: 27.91 kB / 423.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.2136, allocations: 14.12 kB / 424 MB, free: 14.1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.214, allocations: 291.8 kB / 424.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.2141, allocations: 0.6887 MB / 424.9 MB, free: 13.06 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.798e-05/0.2141, allocations: 12 kB / 424.9 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.681e-05/0.2142, allocations: 11.44 kB / 425 MB, free: 13.04 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.2142, allocations: 0 / 425 MB, free: 13.04 MB / 298.7 MB Notification: Performance of Templates: time 0.002288/0.2165, allocations: 0.6387 MB / 425.6 MB, free: 12.4 MB / 298.7 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)