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/ModelicaServices 4.0.0+maint.om/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/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) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001037, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 222.9 MB / 238.9 MB, free: 4.816 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 192.5 kB / 289.1 MB, free: 2.543 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03139/0.03139, allocations: 8.779 MB / 348.1 MB, free: 4.953 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 78.55 kB / 410.4 MB, free: 42.46 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07534/0.0766, allocations: 51.56 MB / 461.9 MB, free: 15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.003174/0.07981, allocations: 2.214 MB / 464.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.08159, allocations: 1.526 MB / 465.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.04e-05/0.0817, allocations: 4 kB / 465.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.08202, allocations: 103.7 kB / 465.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.08225, allocations: 95.56 kB / 465.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.08254, allocations: 111.1 kB / 466 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.08275, allocations: 207.2 kB / 466.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.08288, allocations: 49.59 kB / 466.2 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.468e-05/0.08298, allocations: 83.64 kB / 466.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008149/0.09113, allocations: 111.6 kB / 466.4 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.671e-05/0.09119, allocations: 11.94 kB / 466.4 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.09137, allocations: 59.98 kB / 466.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.671e-05/0.09145, allocations: 47.77 kB / 466.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.09157, allocations: 91.52 kB / 466.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.09192, allocations: 239.5 kB / 466.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.09193, allocations: 3.938 kB / 466.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.09194, allocations: 0 / 466.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.09195, allocations: 4 kB / 466.9 MB, free: 10.02 MB / 302.1 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.0006912/0.09265, allocations: 0.5104 MB / 467.4 MB, free: 9.461 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.09269, allocations: 8.031 kB / 467.4 MB, free: 9.453 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.99e-05/0.09275, allocations: 24.66 kB / 467.4 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.09301, allocations: 249 kB / 467.7 MB, free: 9.148 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.09304, allocations: 8.609 kB / 467.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.09307, allocations: 16.12 kB / 467.7 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.09333, allocations: 141.4 kB / 467.8 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.09335, allocations: 0 / 467.8 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.09337, allocations: 8 kB / 467.8 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.09338, allocations: 0 / 467.8 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.09354, allocations: 72.66 kB / 467.9 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007132/0.09426, allocations: 0.5494 MB / 468.5 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.0946, allocations: 114.6 kB / 468.6 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.167e-05/0.09469, allocations: 36.84 kB / 468.6 MB, free: 8.129 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.09472, allocations: 3.938 kB / 468.6 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.09493, allocations: 101 kB / 468.7 MB, free: 8.008 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.09494, allocations: 4 kB / 468.7 MB, free: 8.004 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003256/0.09527, allocations: 153.6 kB / 468.9 MB, free: 7.848 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.09533, allocations: 102.8 kB / 469 MB, free: 7.723 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.09556, allocations: 265 kB / 469.2 MB, free: 7.453 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.09559, allocations: 29.8 kB / 469.3 MB, free: 7.418 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.09567, allocations: 151.6 kB / 469.4 MB, free: 7.266 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.0957, allocations: 27.61 kB / 469.4 MB, free: 7.238 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.09575, allocations: 33.72 kB / 469.5 MB, free: 7.199 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.165e-05/0.09585, allocations: 338.8 kB / 469.8 MB, free: 6.859 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.848e-05/0.09592, allocations: 31.92 kB / 469.8 MB, free: 6.828 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.07e-05/0.09602, allocations: 69.14 kB / 469.9 MB, free: 6.742 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.09617, allocations: 95.33 kB / 470 MB, free: 6.637 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.09618, allocations: 0 / 470 MB, free: 6.637 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000222/0.09641, allocations: 141.2 kB / 470.1 MB, free: 6.492 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.09643, allocations: 10.03 kB / 470.1 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.09644, allocations: 3.984 kB / 470.1 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.09645, allocations: 4 kB / 470.1 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.846e-05/0.09656, allocations: 20 kB / 470.2 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.09657, allocations: 4.031 kB / 470.2 MB, free: 6.453 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.854e-05/0.09667, allocations: 19.98 kB / 470.2 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.09668, allocations: 4 kB / 470.2 MB, free: 6.43 MB / 302.1 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 ($PRE.table.nextTimeEvent,$whenCondition1,table.nextTimeEventScaled,$PRE.table.nextTimeEventScaled,table.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.09679, allocations: 149.7 kB / 470.3 MB, free: 6.273 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.09683, allocations: 19.72 kB / 470.4 MB, free: 6.254 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.408e-05/0.09688, allocations: 25.7 kB / 470.4 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.09688, allocations: 0 / 470.4 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.09689, allocations: 0 / 470.4 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.0969, allocations: 0 / 470.4 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.09707, allocations: 249.5 kB / 470.6 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.09708, allocations: 0 / 470.6 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.924e-05/0.09716, allocations: 15.98 kB / 470.6 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.09718, allocations: 4 kB / 470.6 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.09719, allocations: 3.938 kB / 470.6 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.0972, allocations: 0 / 470.6 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.0972, allocations: 4 kB / 470.6 MB, free: 5.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.09751, allocations: 188.7 kB / 470.8 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.09757, allocations: 96.94 kB / 470.9 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.798e-05/0.0976, allocations: 0 / 470.9 MB, free: 5.594 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.703e-05/0.09768, allocations: 4 kB / 470.9 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.09772, allocations: 7.984 kB / 470.9 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.09774, allocations: 8.094 kB / 470.9 MB, free: 5.574 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.09791, allocations: 208.4 kB / 471.2 MB, free: 5.375 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09792, allocations: 0 / 471.2 MB, free: 5.375 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.09816, allocations: 43.88 kB / 471.2 MB, free: 5.332 MB / 302.1 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.nextTimeEventScaled,table.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008355/0.099, allocations: 448.8 kB / 471.6 MB, free: 5.062 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.0992, allocations: 83.89 kB / 471.7 MB, free: 4.98 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.09921, allocations: 192 / 471.7 MB, free: 4.98 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.806e-05/0.0993, allocations: 39.94 kB / 471.8 MB, free: 4.941 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.09958, allocations: 36.34 kB / 471.8 MB, free: 4.906 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000663/0.1002, allocations: 490.4 kB / 472.3 MB, free: 4.398 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.1005, allocations: 0.7321 MB / 473 MB, free: 3.641 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.45e-05/0.1006, allocations: 33.52 kB / 473 MB, free: 3.609 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.1006, allocations: 19.44 kB / 473.1 MB, free: 3.59 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1006, allocations: 0 / 473.1 MB, free: 3.59 MB / 302.1 MB Notification: Performance of Templates: time 0.004552/0.1052, allocations: 2.306 MB / 475.4 MB, free: 1.305 MB / 302.1 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)