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 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.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 3.2.3+maint.om/package.mo): time 0.00144/0.00144, allocations: 170.1 kB / 16.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 1.1.1-master/package.mo): time 0.0616/0.0616, allocations: 8.769 MB / 25.64 MB, free: 3.73 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.693/1.693, allocations: 205.4 MB / 233.9 MB, free: 12.4 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.001283/0.001283, allocations: 94.28 kB / 284.4 MB, free: 14.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005771/0.0005772, allocations: 12 kB / 344.8 MB, free: 1.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3248, allocations: 49.71 MB / 394.5 MB, free: 36.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1187/0.4436, allocations: 80.6 MB / 475.1 MB, free: 4.051 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/0.4438, allocations: 71.97 kB / 475.2 MB, free: 3.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01303/0.4569, allocations: 4.86 MB / 480 MB, free: 15.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.456e-06/0.4569, allocations: 7.984 kB / 480 MB, free: 15.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.4569, allocations: 4 kB / 480 MB, free: 15.1 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.0006785/0.4576, allocations: 0.491 MB / 480.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.4577, allocations: 12.03 kB / 480.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.029e-05/0.4577, allocations: 20.66 kB / 480.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.4581, allocations: 253 kB / 480.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.4582, allocations: 8.609 kB / 480.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.4582, allocations: 24.3 kB / 480.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.4585, allocations: 117 kB / 481 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.4585, allocations: 192 / 481 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.4585, allocations: 7.938 kB / 481 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.4585, allocations: 4 kB / 481 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.4587, allocations: 80.59 kB / 481 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008702/0.4596, allocations: 0.5536 MB / 481.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.4599, allocations: 114.6 kB / 481.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.381e-05/0.4601, allocations: 36.84 kB / 481.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.4601, allocations: 8 kB / 481.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.4603, allocations: 101 kB / 481.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.4603, allocations: 3.938 kB / 481.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003923/0.4607, allocations: 145.4 kB / 482 MB, free: 12.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.289e-05/0.4608, allocations: 89.05 kB / 482.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/0.4611, allocations: 260.2 kB / 482.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.4612, allocations: 29.7 kB / 482.4 MB, free: 12.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.4613, allocations: 131.9 kB / 482.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.4613, allocations: 31.55 kB / 482.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/0.4614, allocations: 4 kB / 482.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4615, allocations: 330.8 kB / 482.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.202e-05/0.4616, allocations: 27.98 kB / 482.9 MB, free: 12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.4617, allocations: 64.28 kB / 482.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.4619, allocations: 87.36 kB / 483 MB, free: 11.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4619, allocations: 0 / 483 MB, free: 11.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003057/0.4622, allocations: 161.2 kB / 483.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.4623, allocations: 4 kB / 483.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4623, allocations: 0 / 483.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.4623, allocations: 4 kB / 483.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.4624, allocations: 31.92 kB / 483.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.4625, allocations: 0 / 483.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.4626, allocations: 15.94 kB / 483.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.4626, allocations: 4 kB / 483.2 MB, free: 11.61 MB / 362.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.0001587/0.4628, allocations: 146.1 kB / 483.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.4628, allocations: 27.66 kB / 483.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.4631, allocations: 135 kB / 483.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.4631, allocations: 0 / 483.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4631, allocations: 0 / 483.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.4631, allocations: 384 / 483.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.4634, allocations: 249.5 kB / 483.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4634, allocations: 3.938 kB / 483.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.587e-05/0.4635, allocations: 19.98 kB / 483.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.4636, allocations: 11.88 kB / 483.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.4636, allocations: 0 / 483.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.4636, allocations: 0 / 483.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4636, allocations: 0 / 483.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.464, allocations: 196.7 kB / 484 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.011e-05/0.4641, allocations: 104.8 kB / 484.1 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.4642, allocations: 7.984 kB / 484.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.174e-05/0.4643, allocations: 8.062 kB / 484.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.4643, allocations: 15.97 kB / 484.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.4643, allocations: 0 / 484.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002233/0.4646, allocations: 193.8 kB / 484.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4646, allocations: 0 / 484.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002756/0.4648, allocations: 47.94 kB / 484.4 MB, free: 10.37 MB / 362.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.0009715/0.4658, allocations: 427.6 kB / 484.8 MB, free: 9.957 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002985/0.4661, allocations: 87.89 kB / 484.9 MB, free: 9.871 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4662, allocations: 0 / 484.9 MB, free: 9.871 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.4663, allocations: 35.98 kB / 484.9 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.4666, allocations: 32.36 kB / 485 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.4677, allocations: 0.5177 MB / 485.5 MB, free: 9.258 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.468, allocations: 0.7283 MB / 486.2 MB, free: 8.504 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.997e-05/0.4681, allocations: 29.41 kB / 486.2 MB, free: 8.477 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.4682, allocations: 19.42 kB / 486.3 MB, free: 8.457 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4682, allocations: 0 / 486.3 MB, free: 8.457 MB / 362.7 MB Notification: Performance of Templates: time 0.005549/0.4738, allocations: 2.122 MB / 488.4 MB, free: 6.336 MB / 362.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)