Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HanserModelica with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") translateModel(HanserModelica.FirstSteps.Electrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009195/0.00092, allocations: 172.6 kB / 16.11 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.03922/0.03922, allocations: 8.775 MB / 25.64 MB, free: 3.797 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.595/1.595, allocations: 205.4 MB / 233.9 MB, free: 12.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008617/0.000862, allocations: 93.77 kB / 284.4 MB, free: 14.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005766/0.0005767, allocations: 15.98 kB / 344.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2899, allocations: 49.71 MB / 394.5 MB, free: 36.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09912/0.389, allocations: 75.31 MB / 469.8 MB, free: 9.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.3893, allocations: 59.97 kB / 469.9 MB, free: 9.281 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0008405/0.3902, allocations: 434.9 kB / 470.3 MB, free: 8.855 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3902, allocations: 4 kB / 470.3 MB, free: 8.852 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.3902, allocations: 0 / 470.3 MB, free: 8.852 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002707/0.3905, allocations: 319.5 kB / 470.6 MB, free: 8.488 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3905, allocations: 12.03 kB / 470.6 MB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.214e-05/0.3906, allocations: 4.844 kB / 470.6 MB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.3907, allocations: 164.4 kB / 470.8 MB, free: 8.273 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.3907, allocations: 384 / 470.8 MB, free: 8.273 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.3907, allocations: 8.312 kB / 470.8 MB, free: 8.266 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.277e-05/0.3908, allocations: 34.27 kB / 470.8 MB, free: 8.227 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3909, allocations: 8.125 kB / 470.8 MB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.3909, allocations: 3.938 kB / 470.8 MB, free: 8.215 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.3909, allocations: 0 / 470.8 MB, free: 8.215 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.598e-05/0.3909, allocations: 11.97 kB / 470.9 MB, free: 8.203 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.3911, allocations: 153.7 kB / 471 MB, free: 8.004 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.464e-05/0.3912, allocations: 34.58 kB / 471 MB, free: 7.961 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.735e-05/0.3912, allocations: 16.94 kB / 471.1 MB, free: 7.941 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.3912, allocations: 4 kB / 471.1 MB, free: 7.938 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.3912, allocations: 38.5 kB / 471.1 MB, free: 7.891 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3913, allocations: 0 / 471.1 MB, free: 7.891 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001355/0.3914, allocations: 53.56 kB / 471.1 MB, free: 7.832 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.3914, allocations: 55.41 kB / 471.2 MB, free: 7.766 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.932e-05/0.3915, allocations: 93.86 kB / 471.3 MB, free: 7.664 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.3915, allocations: 25.7 kB / 471.3 MB, free: 7.633 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.3916, allocations: 84.14 kB / 471.4 MB, free: 7.547 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.3916, allocations: 19.73 kB / 471.4 MB, free: 7.527 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.285e-06/0.3916, allocations: 0 / 471.4 MB, free: 7.527 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3917, allocations: 322.2 kB / 471.7 MB, free: 7.207 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/0.3917, allocations: 0 / 471.7 MB, free: 7.207 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.071e-05/0.3918, allocations: 4 kB / 471.7 MB, free: 7.203 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.925e-05/0.3918, allocations: 24.78 kB / 471.8 MB, free: 7.176 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3918, allocations: 0 / 471.8 MB, free: 7.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.543e-05/0.3919, allocations: 41.7 kB / 471.8 MB, free: 7.129 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3919, allocations: 11.98 kB / 471.8 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3919, allocations: 7.938 kB / 471.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.3919, allocations: 0 / 471.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.283e-05/0.392, allocations: 16 kB / 471.8 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.392, allocations: 0 / 471.8 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.452e-05/0.3921, allocations: 0 / 471.8 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.3921, allocations: 0 / 471.8 MB, free: 7.094 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 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.967e-05/0.3921, allocations: 117.8 kB / 472 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.543e-06/0.3922, allocations: 0 / 472 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.3922, allocations: 15.42 kB / 472 MB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3922, allocations: 4 kB / 472 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3922, allocations: 7.938 kB / 472 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.3922, allocations: 0.5156 kB / 472 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.3923, allocations: 153.6 kB / 472.1 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3923, allocations: 0 / 472.1 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.235e-05/0.3924, allocations: 12 kB / 472.1 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3924, allocations: 0 / 472.1 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.3924, allocations: 3.938 kB / 472.1 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3924, allocations: 0 / 472.1 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3924, allocations: 0 / 472.1 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.3926, allocations: 81.11 kB / 472.2 MB, free: 6.621 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.365e-05/0.3926, allocations: 81.09 kB / 472.3 MB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.3927, allocations: 7.969 kB / 472.3 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.813e-05/0.3927, allocations: 0 / 472.3 MB, free: 6.516 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.3927, allocations: 3.938 kB / 472.3 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.3927, allocations: 0 / 472.3 MB, free: 6.512 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.298e-05/0.3928, allocations: 79.28 kB / 472.4 MB, free: 6.434 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3928, allocations: 0 / 472.4 MB, free: 6.434 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002021/0.393, allocations: 12.06 kB / 472.4 MB, free: 6.422 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (i) * 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 (3): * Single equations (assignments): 3 * 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.0001032/0.3931, allocations: 103.2 kB / 472.5 MB, free: 6.312 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.776e-05/0.3932, allocations: 12 kB / 472.5 MB, free: 6.301 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3932, allocations: 0 / 472.5 MB, free: 6.301 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.553e-05/0.3932, allocations: 11.98 kB / 472.5 MB, free: 6.289 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.3933, allocations: 7.938 kB / 472.5 MB, free: 6.281 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.3936, allocations: 116.6 kB / 472.7 MB, free: 6.141 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.3938, allocations: 0.6848 MB / 473.3 MB, free: 5.43 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.595e-05/0.3939, allocations: 0 / 473.3 MB, free: 5.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.218e-05/0.3939, allocations: 7.438 kB / 473.3 MB, free: 5.422 MB / 346.7 MB Notification: Performance of SimCode: time 1.91e-07/0.3939, allocations: 0 / 473.3 MB, free: 5.422 MB / 346.7 MB Notification: Performance of Templates: time 0.001839/0.3957, allocations: 232.5 kB / 473.6 MB, free: 5.195 MB / 346.7 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical1.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical1.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical1.pipe 2>&1)