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.001433/0.001433, allocations: 176.2 kB / 7.643 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.05512/0.05512, allocations: 8.719 MB / 16.79 MB, free: 3.371 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.381/1.381, 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.0009516/0.0009516, allocations: 99.17 kB / 293.9 MB, free: 7.207 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.599e-05/1.601e-05, allocations: 0 / 352.6 MB, free: 1.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 52.55 MB / 405.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3273/0.4362, allocations: 81.44 MB / 486.6 MB, free: 5.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.4365, allocations: 73.31 kB / 486.7 MB, free: 5.879 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01154/0.448, allocations: 4.991 MB / 491.7 MB, free: 1.598 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4481, allocations: 0 / 491.7 MB, free: 1.598 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.4481, allocations: 4 kB / 491.7 MB, free: 1.594 MB / 346.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.0004984/0.4486, allocations: 476.3 kB / 492.1 MB, free: 1.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.4487, allocations: 19.97 kB / 492.2 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.4487, allocations: 23.81 kB / 492.2 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.449, allocations: 239.9 kB / 492.4 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.4491, allocations: 4 kB / 492.4 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/0.4491, allocations: 9.422 kB / 492.4 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001442/0.4493, allocations: 68.42 kB / 492.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.4494, allocations: 96.38 kB / 492.6 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.4494, allocations: 0 / 492.6 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.4495, allocations: 7.984 kB / 492.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4495, allocations: 3.828 kB / 492.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006634/0.4502, allocations: 0.518 MB / 493.1 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.4505, allocations: 103.3 kB / 493.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.541e-05/0.4505, allocations: 32.84 kB / 493.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.4506, allocations: 0 / 493.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.4507, allocations: 93.23 kB / 493.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.4508, allocations: 4 kB / 493.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002427/0.451, allocations: 114.4 kB / 493.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.4511, allocations: 77.11 kB / 493.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.4513, allocations: 224.2 kB / 493.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.4513, allocations: 25.7 kB / 493.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.788e-05/0.4514, allocations: 140.1 kB / 493.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.4515, allocations: 31.55 kB / 494 MB, free: 15.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.4515, allocations: 1.031 kB / 494 MB, free: 15.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4516, allocations: 330.8 kB / 494.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-05/0.4516, allocations: 28 kB / 494.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.529e-05/0.4517, allocations: 56.84 kB / 494.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.647e-05/0.4518, allocations: 27.98 kB / 494.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4518, allocations: 0 / 494.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001872/0.452, allocations: 129.3 kB / 494.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.452, allocations: 10.03 kB / 494.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.452, allocations: 0 / 494.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.452, allocations: 0 / 494.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.4522, allocations: 33.19 kB / 494.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.4522, allocations: 4.938 kB / 494.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.894e-05/0.4523, allocations: 11.94 kB / 494.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.4523, allocations: 4 kB / 494.6 MB, free: 14.48 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 8.327e-05/0.4524, allocations: 114.1 kB / 494.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.4524, allocations: 19.72 kB / 494.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.4526, allocations: 128.3 kB / 494.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4526, allocations: 0 / 494.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4527, allocations: 3.953 kB / 494.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4527, allocations: 4 kB / 494.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.4529, allocations: 210.1 kB / 495 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4529, allocations: 2.375 kB / 495.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.851e-05/0.453, allocations: 19.92 kB / 495.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.453, allocations: 8 kB / 495.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.453, allocations: 0 / 495.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.453, allocations: 0 / 495.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.453, allocations: 0 / 495.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.4533, allocations: 180.8 kB / 495.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/0.4534, allocations: 100.9 kB / 495.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.4534, allocations: 4.844 kB / 495.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.759e-05/0.4535, allocations: 8.062 kB / 495.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.4536, allocations: 7.984 kB / 495.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.649e-06/0.4536, allocations: 4 kB / 495.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001413/0.4537, allocations: 172.6 kB / 495.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4537, allocations: 4 kB / 495.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002427/0.454, allocations: 43.84 kB / 495.6 MB, free: 13.4 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.0007865/0.4548, allocations: 360.8 kB / 495.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001605/0.4549, allocations: 75.86 kB / 496 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.4549, allocations: 0 / 496 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.74e-05/0.455, allocations: 32 kB / 496 MB, free: 13.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.4553, allocations: 32.8 kB / 496.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006127/0.4559, allocations: 304.7 kB / 496.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.4562, allocations: 0.7413 MB / 497.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.994e-05/0.4563, allocations: 21.2 kB / 497.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.4563, allocations: 23.42 kB / 497.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4563, allocations: 0 / 497.2 MB, free: 11.93 MB / 362.7 MB Notification: Performance of Templates: time 0.004668/0.461, allocations: 1.901 MB / 499.1 MB, free: 10.08 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)