Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Tables.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.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") translateModel(HanserModelica.Electrical.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 175 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.03903/0.03903, allocations: 8.699 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.246/1.246, allocations: 221.4 MB / 246 MB, free: 3.547 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.0009127/0.0009127, allocations: 107.1 kB / 299.1 MB, free: 2.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.649e-05/3.663e-05, allocations: 0 / 359.5 MB, free: 6.512 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2698, allocations: 52.55 MB / 412.1 MB, free: 22.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1033/0.3731, allocations: 82.11 MB / 494.2 MB, free: 4.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.3734, allocations: 71.95 kB / 494.2 MB, free: 4.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01357/0.387, allocations: 5.033 MB / 499.3 MB, free: 15.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.387, allocations: 0 / 499.3 MB, free: 15.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.549e-05/0.3871, allocations: 4 kB / 499.3 MB, free: 15.21 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005617/0.3876, allocations: 478 kB / 499.7 MB, free: 14.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.3877, allocations: 8.031 kB / 499.8 MB, free: 14.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.02e-05/0.3877, allocations: 27.81 kB / 499.8 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.3881, allocations: 247.8 kB / 0.4883 GB, free: 14.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.3881, allocations: 8.234 kB / 0.4883 GB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.3882, allocations: 12 kB / 0.4883 GB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.3884, allocations: 111.5 kB / 0.4884 GB, free: 14.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3884, allocations: 3.953 kB / 0.4884 GB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.3884, allocations: 8 kB / 0.4884 GB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.3885, allocations: 0 / 0.4884 GB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.3886, allocations: 76.62 kB / 0.4885 GB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007355/0.3894, allocations: 0.5574 MB / 0.4891 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.3897, allocations: 106.7 kB / 0.4892 GB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.803e-05/0.3897, allocations: 36.84 kB / 0.4892 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.3898, allocations: 0 / 0.4892 GB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.3899, allocations: 93.11 kB / 0.4893 GB, free: 13.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.39, allocations: 0 / 0.4893 GB, free: 13.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002477/0.3902, allocations: 125.5 kB / 0.4894 GB, free: 13.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.3903, allocations: 81.11 kB / 0.4895 GB, free: 13.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.3905, allocations: 232.3 kB / 0.4897 GB, free: 12.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.3905, allocations: 29.69 kB / 0.4897 GB, free: 12.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.863e-05/0.3906, allocations: 139.8 kB / 0.4899 GB, free: 12.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.3907, allocations: 35.53 kB / 0.4899 GB, free: 12.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.3907, allocations: 4 kB / 0.4899 GB, free: 12.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3908, allocations: 338.8 kB / 0.4902 GB, free: 12.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.056e-05/0.3909, allocations: 28 kB / 0.4903 GB, free: 12.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.265e-05/0.3909, allocations: 67.75 kB / 0.4903 GB, free: 12.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.665e-05/0.391, allocations: 27.98 kB / 0.4903 GB, free: 12.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.391, allocations: 4 kB / 0.4903 GB, free: 12.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001982/0.3912, allocations: 133.5 kB / 0.4905 GB, free: 11.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.3912, allocations: 7.984 kB / 0.4905 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3913, allocations: 0 / 0.4905 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3913, allocations: 11.89 kB / 0.4905 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.3914, allocations: 20 kB / 0.4905 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.3914, allocations: 3.984 kB / 0.4905 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.51e-05/0.3915, allocations: 19.84 kB / 0.4905 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.3915, allocations: 4 kB / 0.4905 GB, free: 11.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.table.nextTimeEvent,table.nextTimeEvent,$PRE.table.nextTimeEventScaled,table.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 7.858e-05/0.3916, allocations: 123.1 kB / 0.4907 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.3916, allocations: 19.81 kB / 0.4907 GB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002248/0.3919, allocations: 131.2 kB / 0.4908 GB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3919, allocations: 7.938 kB / 0.4908 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3919, allocations: 3.953 kB / 0.4908 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3919, allocations: 0 / 0.4908 GB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.3921, allocations: 241.5 kB / 0.491 GB, free: 11.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3921, allocations: 4 kB / 0.491 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.747e-05/0.3922, allocations: 15.94 kB / 0.4911 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3922, allocations: 7.984 kB / 0.4911 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.3922, allocations: 4 kB / 0.4911 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.3922, allocations: 4 kB / 0.4911 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3923, allocations: 0 / 0.4911 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.3925, allocations: 188.7 kB / 0.4913 GB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/0.3926, allocations: 96.95 kB / 0.4913 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.3927, allocations: 8 kB / 0.4914 GB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.397e-05/0.3928, allocations: 12.05 kB / 0.4914 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.3928, allocations: 7.984 kB / 0.4914 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.3928, allocations: 8 kB / 0.4914 GB, free: 10.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001657/0.393, allocations: 196.4 kB / 0.4916 GB, free: 10.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.393, allocations: 0 / 0.4916 GB, free: 10.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002376/0.3932, allocations: 51.84 kB / 0.4916 GB, free: 10.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * Number of discrete variables: 3 ($whenCondition1,table.nextTimeEvent,table.nextTimeEventScaled) * Number of discrete states: 2 (table.nextTimeEvent,table.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007881/0.394, allocations: 380.1 kB / 0.492 GB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.3942, allocations: 83.92 kB / 0.4921 GB, free: 10.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3942, allocations: 0 / 0.4921 GB, free: 10.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.461e-05/0.3943, allocations: 35.94 kB / 0.4921 GB, free: 10.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.3945, allocations: 34.84 kB / 0.4921 GB, free: 10.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005601/0.3951, allocations: 303 kB / 0.4924 GB, free: 9.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.3954, allocations: 0.74 MB / 0.4931 GB, free: 9.215 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.486e-05/0.3955, allocations: 21.19 kB / 0.4932 GB, free: 9.195 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/0.3955, allocations: 27.42 kB / 0.4932 GB, free: 9.168 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3955, allocations: 0 / 0.4932 GB, free: 9.168 MB / 378.7 MB Notification: Performance of Templates: time 0.004609/0.4001, allocations: 2.096 MB / 0.4952 GB, free: 7.094 MB / 378.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Tables.makefile (rm -f HanserModelica_HanserModelica.Electrical.Tables.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Tables.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Tables.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Tables.sim & ./HanserModelica_HanserModelica.Electrical.Tables -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1)