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.001332/0.001332, allocations: 175.2 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.05361/0.05361, allocations: 8.702 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.316/1.316, allocations: 221.4 MB / 246 MB, free: 3.617 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.0008819/0.000882, allocations: 99.84 kB / 299.1 MB, free: 3.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.805e-05/2.807e-05, allocations: 0 / 359.5 MB, free: 6.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2584, allocations: 52.54 MB / 412.1 MB, free: 22.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1222/0.3807, allocations: 82.41 MB / 494.5 MB, free: 4.035 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.381, allocations: 75.95 kB / 494.5 MB, free: 3.961 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01962/0.4006, allocations: 7.499 MB / 0.4903 GB, free: 12.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.066e-06/0.4006, allocations: 4 kB / 0.4903 GB, free: 12.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.42e-05/0.4007, allocations: 0 / 0.4903 GB, free: 12.45 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.0005837/0.4013, allocations: 474.1 kB / 0.4907 GB, free: 11.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.4013, allocations: 16.02 kB / 0.4907 GB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.4014, allocations: 19.72 kB / 0.4908 GB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.4017, allocations: 255.7 kB / 0.491 GB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.4018, allocations: 8.234 kB / 0.491 GB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.4018, allocations: 15.98 kB / 0.491 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.4021, allocations: 141.4 kB / 0.4912 GB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.4021, allocations: 0 / 0.4912 GB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.4021, allocations: 11.98 kB / 0.4912 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4021, allocations: 4 kB / 0.4912 GB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.4022, allocations: 60.7 kB / 0.4912 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008244/0.4031, allocations: 0.5611 MB / 0.4918 GB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002919/0.4034, allocations: 110.7 kB / 0.4919 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.474e-05/0.4035, allocations: 36.84 kB / 0.4919 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.4035, allocations: 4 kB / 0.4919 GB, free: 10.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.4037, allocations: 101.2 kB / 0.492 GB, free: 10.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.4037, allocations: 0 / 0.492 GB, free: 10.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002489/0.4039, allocations: 121.4 kB / 0.4921 GB, free: 10.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.404, allocations: 102.8 kB / 0.4922 GB, free: 10.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002534/0.4043, allocations: 248.8 kB / 0.4925 GB, free: 9.961 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.4043, allocations: 25.7 kB / 0.4925 GB, free: 9.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.401e-05/0.4044, allocations: 143.8 kB / 0.4926 GB, free: 9.785 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.4044, allocations: 31.55 kB / 0.4927 GB, free: 9.754 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.4044, allocations: 4 kB / 0.4927 GB, free: 9.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4045, allocations: 330.8 kB / 0.493 GB, free: 9.418 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.081e-05/0.4046, allocations: 28 kB / 0.493 GB, free: 9.391 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-05/0.4047, allocations: 68.67 kB / 0.4931 GB, free: 9.309 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.689e-05/0.4048, allocations: 35.86 kB / 0.4931 GB, free: 9.273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4048, allocations: 0 / 0.4931 GB, free: 9.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002052/0.405, allocations: 141.4 kB / 0.4933 GB, free: 9.129 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.405, allocations: 4 kB / 0.4933 GB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.405, allocations: 4.078 kB / 0.4933 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.405, allocations: 11.89 kB / 0.4933 GB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.4052, allocations: 23.94 kB / 0.4933 GB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4052, allocations: 0 / 0.4933 GB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.431e-05/0.4053, allocations: 23.83 kB / 0.4933 GB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.4053, allocations: 7.984 kB / 0.4933 GB, free: 9.055 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 8.07e-05/0.4054, allocations: 117.1 kB / 0.4934 GB, free: 8.934 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.879e-05/0.4054, allocations: 15.81 kB / 0.4935 GB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.4056, allocations: 131.4 kB / 0.4936 GB, free: 8.785 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.4057, allocations: 7.953 kB / 0.4936 GB, free: 8.777 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4057, allocations: 3.938 kB / 0.4936 GB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4057, allocations: 0 / 0.4936 GB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.4059, allocations: 253.5 kB / 0.4938 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4059, allocations: 0 / 0.4938 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.787e-05/0.406, allocations: 15.98 kB / 0.4938 GB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.406, allocations: 4 kB / 0.4939 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.406, allocations: 4 kB / 0.4939 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.406, allocations: 0 / 0.4939 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.279e-06/0.406, allocations: 7.953 kB / 0.4939 GB, free: 8.445 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003069/0.4064, allocations: 184.8 kB / 0.494 GB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.244e-05/0.4065, allocations: 112.7 kB / 0.4941 GB, free: 8.117 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.4065, allocations: 4 kB / 0.4942 GB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.662e-05/0.4066, allocations: 12.06 kB / 0.4942 GB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.484e-05/0.4066, allocations: 7.984 kB / 0.4942 GB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.4066, allocations: 7.953 kB / 0.4942 GB, free: 8.086 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001769/0.4068, allocations: 197.4 kB / 0.4944 GB, free: 7.891 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4068, allocations: 0 / 0.4944 GB, free: 7.891 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002576/0.4071, allocations: 63.92 kB / 0.4944 GB, free: 7.828 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.0008972/0.408, allocations: 415.6 kB / 0.4948 GB, free: 7.555 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.4082, allocations: 79.86 kB / 0.4949 GB, free: 7.477 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4082, allocations: 0 / 0.4949 GB, free: 7.477 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.712e-05/0.4083, allocations: 44.09 kB / 0.4949 GB, free: 7.434 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.4085, allocations: 36.59 kB / 0.495 GB, free: 7.398 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006212/0.4092, allocations: 316.2 kB / 0.4953 GB, free: 7.066 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.4095, allocations: 0.74 MB / 0.496 GB, free: 6.301 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.287e-05/0.4096, allocations: 25.19 kB / 0.496 GB, free: 6.277 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.4096, allocations: 15.44 kB / 0.496 GB, free: 6.262 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4096, allocations: 0 / 0.496 GB, free: 6.262 MB / 378.7 MB Notification: Performance of Templates: time 0.005396/0.415, allocations: 2.392 MB / 0.4984 GB, free: 3.891 MB / 378.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)