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.0009996/0.0009997, allocations: 174.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03835/0.03835, allocations: 8.698 MB / 21.96 MB, free: 3.367 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.31/1.31, allocations: 221.4 MB / 246 MB, free: 3.543 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.0008803/0.0008803, allocations: 91.81 kB / 299.1 MB, free: 2.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.371e-05, allocations: 0 / 359.5 MB, free: 6.512 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2517, allocations: 52.54 MB / 412.1 MB, free: 22.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1007/0.3523, allocations: 78.85 MB / 490.9 MB, free: 7.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00018/0.3526, allocations: 67.97 kB / 491 MB, free: 7.523 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005286/0.3579, allocations: 1.932 MB / 492.9 MB, free: 5.582 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3579, allocations: 0 / 492.9 MB, free: 5.582 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.3579, allocations: 0 / 492.9 MB, free: 5.582 MB / 362.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.0003921/0.3583, allocations: 374.3 kB / 493.3 MB, free: 5.172 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.3584, allocations: 8.031 kB / 493.3 MB, free: 5.164 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.688e-05/0.3584, allocations: 15.86 kB / 493.3 MB, free: 5.148 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.3586, allocations: 183.1 kB / 493.5 MB, free: 4.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.3586, allocations: 0 / 493.5 MB, free: 4.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3586, allocations: 8 kB / 493.5 MB, free: 4.922 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.3588, allocations: 77.62 kB / 493.6 MB, free: 4.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.3588, allocations: 0 / 493.6 MB, free: 4.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3588, allocations: 0 / 493.6 MB, free: 4.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.3588, allocations: 7.953 kB / 493.6 MB, free: 4.832 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.387e-05/0.3589, allocations: 40 kB / 493.6 MB, free: 4.793 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000636/0.3596, allocations: 411.5 kB / 494 MB, free: 4.332 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.994e-05/0.3597, allocations: 26.52 kB / 494 MB, free: 4.297 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/0.3597, allocations: 16.92 kB / 494 MB, free: 4.277 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.3597, allocations: 0 / 494 MB, free: 4.277 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.3598, allocations: 34.56 kB / 494.1 MB, free: 4.234 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 2.675e-06/0.3598, allocations: 0 / 494.1 MB, free: 4.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001608/0.3599, allocations: 57.53 kB / 494.1 MB, free: 4.172 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.36, allocations: 51.41 kB / 494.2 MB, free: 4.109 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.871e-05/0.3601, allocations: 117.1 kB / 494.3 MB, free: 3.988 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.3601, allocations: 25.7 kB / 494.3 MB, free: 3.957 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.3602, allocations: 103.9 kB / 494.4 MB, free: 3.852 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.193e-05/0.3602, allocations: 11.91 kB / 494.4 MB, free: 3.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.3602, allocations: 32 / 494.4 MB, free: 3.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.3603, allocations: 318.8 kB / 494.8 MB, free: 3.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.266e-05/0.3603, allocations: 11.94 kB / 494.8 MB, free: 3.508 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.778e-05/0.3604, allocations: 34.55 kB / 494.8 MB, free: 3.465 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.802e-05/0.3604, allocations: 8 kB / 494.8 MB, free: 3.457 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3604, allocations: 4 kB / 494.8 MB, free: 3.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001046/0.3605, allocations: 65.62 kB / 494.9 MB, free: 3.383 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3606, allocations: 4.938 kB / 494.9 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3606, allocations: 0 / 494.9 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3606, allocations: 4 kB / 494.9 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.3607, allocations: 11.98 kB / 494.9 MB, free: 3.363 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.3607, allocations: 4 kB / 494.9 MB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.409e-05/0.3608, allocations: 8 kB / 494.9 MB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.3608, allocations: 8 kB / 494.9 MB, free: 3.344 MB / 362.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 () * 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 6.907e-05/0.3609, allocations: 108.9 kB / 495 MB, free: 3.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.3609, allocations: 11.92 kB / 495 MB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.83e-05/0.3609, allocations: 3.656 kB / 495 MB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.361, allocations: 0 / 495 MB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.361, allocations: 4 kB / 495 MB, free: 3.215 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.361, allocations: 3.938 kB / 495 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.3612, allocations: 181.6 kB / 495.2 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3612, allocations: 0 / 495.2 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.817e-05/0.3613, allocations: 15.98 kB / 495.2 MB, free: 2.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.3613, allocations: 4 kB / 495.2 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.3613, allocations: 0 / 495.2 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3613, allocations: 0 / 495.2 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3613, allocations: 0 / 495.2 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.3614, allocations: 147.4 kB / 495.4 MB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.3615, allocations: 89.09 kB / 495.5 MB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.3615, allocations: 8 kB / 495.5 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.191e-05/0.3616, allocations: 11.98 kB / 495.5 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.3616, allocations: 0 / 495.5 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.3617, allocations: 0 / 495.5 MB, free: 2.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.842e-05/0.3617, allocations: 95.22 kB / 495.6 MB, free: 2.586 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3617, allocations: 0 / 495.6 MB, free: 2.586 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002615/0.362, allocations: 23.83 kB / 495.6 MB, free: 2.562 MB / 362.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 () * 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.0001239/0.3621, allocations: 107.2 kB / 495.7 MB, free: 2.449 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.773e-05/0.3622, allocations: 20 kB / 495.7 MB, free: 2.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3622, allocations: 0 / 495.7 MB, free: 2.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.707e-05/0.3623, allocations: 15.94 kB / 495.7 MB, free: 2.414 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.3624, allocations: 7.984 kB / 495.8 MB, free: 2.406 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002449/0.3627, allocations: 85.08 kB / 495.8 MB, free: 2.301 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.3629, allocations: 0.6968 MB / 496.5 MB, free: 1.578 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.314e-05/0.363, allocations: 4 kB / 496.5 MB, free: 1.574 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.363, allocations: 11.44 kB / 496.5 MB, free: 1.562 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.363, allocations: 0 / 496.5 MB, free: 1.562 MB / 362.7 MB Notification: Performance of Templates: time 0.002727/0.3657, allocations: 0.6127 MB / 497.2 MB, free: 0.957 MB / 362.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)