Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.TablesFromFile.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.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") translateModel(HanserModelica.Electrical.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.05603/0.05603, allocations: 8.715 MB / 16.79 MB, free: 3.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 221.5 MB / 240.9 MB, free: 13.14 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.0009962/0.0009961, allocations: 95.64 kB / 293.9 MB, free: 7.207 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.979e-05/1.98e-05, allocations: 3.938 kB / 352.6 MB, free: 1.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1582, allocations: 52.54 MB / 405.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3841/0.5424, allocations: 81.75 MB / 486.9 MB, free: 5.578 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001741/0.5426, allocations: 74.47 kB / 487 MB, free: 5.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0169/0.5595, allocations: 7.343 MB / 494.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5596, allocations: 0 / 494.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.5596, allocations: 4 kB / 494.3 MB, free: 14.91 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.0006554/0.5602, allocations: 477.4 kB / 494.8 MB, free: 14.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.5603, allocations: 11.98 kB / 494.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.324e-05/0.5604, allocations: 27.7 kB / 494.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.5608, allocations: 252.6 kB / 495.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.5608, allocations: 4 kB / 495.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.5608, allocations: 11.98 kB / 495.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001582/0.561, allocations: 64.42 kB / 495.2 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.5612, allocations: 121.2 kB / 495.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.5613, allocations: 0 / 495.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.5613, allocations: 4 kB / 495.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.5613, allocations: 0 / 495.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007977/0.5621, allocations: 0.5233 MB / 495.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.5624, allocations: 103.1 kB / 495.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.462e-05/0.5625, allocations: 32.84 kB / 496 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.5625, allocations: 0 / 496 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.5627, allocations: 98.59 kB / 496.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.5627, allocations: 0 / 496.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002802/0.563, allocations: 113.4 kB / 496.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.5631, allocations: 106.8 kB / 496.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002579/0.5633, allocations: 222.2 kB / 496.5 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.5634, allocations: 30.45 kB / 496.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.688e-05/0.5635, allocations: 136.1 kB / 496.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.5635, allocations: 31.55 kB / 496.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/0.5635, allocations: 4 kB / 496.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5636, allocations: 326.8 kB / 497 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.922e-05/0.5637, allocations: 24 kB / 497 MB, free: 12.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.301e-05/0.5638, allocations: 65.14 kB / 497.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.87e-05/0.5639, allocations: 43.86 kB / 497.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5639, allocations: 0.5625 kB / 497.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002006/0.5641, allocations: 123.3 kB / 497.3 MB, free: 11.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.5641, allocations: 5.875 kB / 497.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.5641, allocations: 0 / 497.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.5641, allocations: 7.953 kB / 497.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.5643, allocations: 29.61 kB / 497.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.5643, allocations: 0.75 kB / 497.3 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.485e-05/0.5644, allocations: 15.84 kB / 497.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.5644, allocations: 7.984 kB / 497.3 MB, free: 11.7 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 () * 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.952e-05/0.5645, allocations: 113 kB / 497.4 MB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.5645, allocations: 15.81 kB / 497.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.5647, allocations: 123.4 kB / 497.6 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5648, allocations: 0 / 497.6 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5648, allocations: 3.953 kB / 497.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.5648, allocations: 7.078 kB / 497.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.565, allocations: 214.1 kB / 497.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.565, allocations: 0 / 497.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.728e-05/0.5651, allocations: 15.94 kB / 497.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.5651, allocations: 7.984 kB / 497.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.5651, allocations: 4.938 kB / 497.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.5651, allocations: 0 / 497.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5651, allocations: 0 / 497.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.5654, allocations: 182 kB / 498 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.5655, allocations: 104.9 kB / 498.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.5656, allocations: 4 kB / 498.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.5657, allocations: 12.05 kB / 498.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.559e-05/0.5657, allocations: 7.984 kB / 498.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.5657, allocations: 4.812 kB / 498.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001596/0.5659, allocations: 187.5 kB / 498.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5659, allocations: 0 / 498.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002895/0.5662, allocations: 51.94 kB / 498.4 MB, free: 10.58 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) * 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.000862/0.5671, allocations: 400.4 kB / 498.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001603/0.5672, allocations: 71.92 kB / 498.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5672, allocations: 0 / 498.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.17e-05/0.5673, allocations: 40.12 kB / 498.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.5676, allocations: 31.95 kB / 498.9 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006168/0.5682, allocations: 300.8 kB / 499.2 MB, free: 9.895 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.5685, allocations: 0.7475 MB / 499.9 MB, free: 9.121 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.739e-05/0.5686, allocations: 24.56 kB / 500 MB, free: 9.102 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.5687, allocations: 15.44 kB / 500 MB, free: 9.086 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5687, allocations: 0 / 500 MB, free: 9.086 MB / 362.7 MB Notification: Performance of Templates: time 0.005237/0.5739, allocations: 2.191 MB / 0.4904 GB, free: 6.949 MB / 362.7 MB make -j1 -f HanserModelica_HanserModelica.Electrical.TablesFromFile.makefile (rm -f HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe >> ../files/HanserModelica_HanserModelica.Electrical.TablesFromFile.sim & ./HanserModelica_HanserModelica.Electrical.TablesFromFile -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe 2>&1)