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.004396/0.004396, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03648/0.03648, allocations: 8.799 MB / 24.65 MB, free: 4.113 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.235/1.235, allocations: 223.2 MB / 250.7 MB, free: 6.453 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.0008092/0.0008092, allocations: 91.08 kB / 304 MB, free: 3.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003547, allocations: 16 kB / 367.1 MB, free: 4.926 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2197, allocations: 52.54 MB / 419.6 MB, free: 48.09 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08689/0.3067, allocations: 82.18 MB / 0.49 GB, free: 6.879 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001818/0.3069, allocations: 71.97 kB / 0.4901 GB, free: 6.809 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01307/0.32, allocations: 5.043 MB / 0.495 GB, free: 1.781 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.32, allocations: 0 / 0.495 GB, free: 1.781 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.32, allocations: 7.984 kB / 0.495 GB, free: 1.773 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005827/0.3206, allocations: 0.4985 MB / 0.4955 GB, free: 1.223 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.3206, allocations: 8.562 kB / 0.4955 GB, free: 1.215 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.282e-05/0.3207, allocations: 23.72 kB / 0.4955 GB, free: 1.191 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003148/0.321, allocations: 247.8 kB / 0.4958 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.3211, allocations: 12.17 kB / 0.4958 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.3211, allocations: 8 kB / 0.4958 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.3213, allocations: 127.4 kB / 0.4959 GB, free: 0.7578 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3213, allocations: 3.953 kB / 0.4959 GB, free: 0.7539 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.3214, allocations: 8 kB / 0.4959 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3214, allocations: 0 / 0.4959 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.3215, allocations: 76.66 kB / 0.496 GB, free: 0.6719 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007409/0.3223, allocations: 0.5575 MB / 0.4966 GB, free: 56 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003539/0.3226, allocations: 106.7 kB / 0.4967 GB, free: 15.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.3227, allocations: 4 kB / 0.4967 GB, free: 15.94 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.3228, allocations: 101.2 kB / 0.4968 GB, free: 15.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.3229, allocations: 0 / 0.4968 GB, free: 15.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.000321/0.3232, allocations: 149.4 kB / 0.4969 GB, free: 15.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.3232, allocations: 77.11 kB / 0.497 GB, free: 15.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.3235, allocations: 239.3 kB / 0.4972 GB, free: 15.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.3235, allocations: 25.7 kB / 0.4972 GB, free: 15.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.669e-05/0.3236, allocations: 147.8 kB / 0.4974 GB, free: 15.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.3236, allocations: 31.55 kB / 0.4974 GB, free: 15.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.3236, allocations: 0 / 0.4974 GB, free: 15.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.3237, allocations: 326.8 kB / 0.4977 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.944e-05/0.3238, allocations: 31.98 kB / 0.4977 GB, free: 14.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.891e-05/0.3239, allocations: 70.59 kB / 0.4978 GB, free: 14.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.84e-05/0.324, allocations: 39.97 kB / 0.4978 GB, free: 14.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.324, allocations: 0 / 0.4978 GB, free: 14.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002239/0.3242, allocations: 135.8 kB / 0.498 GB, free: 14.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.3242, allocations: 8 kB / 0.498 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.3243, allocations: 0 / 0.498 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3243, allocations: 4 kB / 0.498 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.3244, allocations: 40.34 kB / 0.498 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3244, allocations: 4 kB / 0.498 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.559e-05/0.3245, allocations: 15.84 kB / 0.498 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.3245, allocations: 4 kB / 0.498 GB, free: 14.43 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 () * Number of clocked 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 0.0001015/0.3246, allocations: 144.7 kB / 0.4982 GB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.3247, allocations: 15.81 kB / 0.4982 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.3249, allocations: 142.9 kB / 0.4983 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3249, allocations: 4 kB / 0.4983 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.325, allocations: 3.953 kB / 0.4983 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.325, allocations: 0 / 0.4983 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.3252, allocations: 253.4 kB / 0.4986 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3252, allocations: 0 / 0.4986 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.853e-05/0.3253, allocations: 15.98 kB / 0.4986 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3253, allocations: 0 / 0.4986 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.3253, allocations: 8 kB / 0.4986 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3253, allocations: 0 / 0.4986 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3253, allocations: 0 / 0.4986 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003226/0.3256, allocations: 200.7 kB / 0.4988 GB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.398e-05/0.3257, allocations: 100.9 kB / 0.4989 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.3258, allocations: 4 kB / 0.4989 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.545e-05/0.3259, allocations: 8 kB / 0.4989 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.3259, allocations: 3.984 kB / 0.4989 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.3259, allocations: 4 kB / 0.4989 GB, free: 13.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001671/0.3261, allocations: 201.6 kB / 0.4991 GB, free: 13.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3261, allocations: 4.062 kB / 0.4991 GB, free: 13.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002386/0.3263, allocations: 51.8 kB / 0.4992 GB, free: 13.19 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) * Number of clocked states: 0 () * 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.0008109/0.3271, allocations: 433.4 kB / 0.4996 GB, free: 12.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.3274, allocations: 83.89 kB / 0.4997 GB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3274, allocations: 0 / 0.4997 GB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.713e-05/0.3275, allocations: 47.86 kB / 0.4997 GB, free: 12.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.3277, allocations: 28.61 kB / 0.4997 GB, free: 12.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006961/0.3284, allocations: 0.5068 MB / 0.5002 GB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.3286, allocations: 0.74 MB / 0.5009 GB, free: 11.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.747e-05/0.3287, allocations: 25.41 kB / 0.501 GB, free: 11.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.624e-05/0.3288, allocations: 19.44 kB / 0.501 GB, free: 11.44 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3288, allocations: 0 / 0.501 GB, free: 11.44 MB / 378.7 MB Notification: Performance of Templates: time 0.004315/0.3331, allocations: 2.082 MB / 0.503 GB, free: 9.383 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)