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.0008821/0.0008821, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 223.3 MB / 240 MB, free: 5.336 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.0009356/0.0009356, allocations: 188.4 kB / 291.3 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03454/0.03454, allocations: 8.8 MB / 351.2 MB, free: 4.559 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003228, allocations: 11.03 kB / 414.5 MB, free: 42.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06263/0.06297, allocations: 52.55 MB / 467 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.002117/0.06511, allocations: 1.86 MB / 468.9 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.06704, allocations: 1.51 MB / 470.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.06717, allocations: 4 kB / 470.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.06746, allocations: 91.67 kB / 470.5 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.0677, allocations: 99.56 kB / 470.6 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.06802, allocations: 119.8 kB / 470.7 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.06826, allocations: 203.2 kB / 470.9 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.06839, allocations: 45.92 kB / 470.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.06852, allocations: 83.58 kB / 471 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.06871, allocations: 99.64 kB / 471.1 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.06874, allocations: 15.94 kB / 471.1 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.06887, allocations: 63.97 kB / 471.2 MB, free: 8.902 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.867e-05/0.06893, allocations: 39.84 kB / 471.2 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.727e-05/0.06903, allocations: 105.2 kB / 471.3 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.06924, allocations: 187.5 kB / 471.5 MB, free: 8.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.06925, allocations: 0 / 471.5 MB, free: 8.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.06925, allocations: 0 / 471.5 MB, free: 8.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.06926, allocations: 0 / 471.5 MB, free: 8.57 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.0005756/0.06984, allocations: 486.9 kB / 472 MB, free: 8.043 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.819e-05/0.06988, allocations: 8.031 kB / 472 MB, free: 8.035 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.055e-05/0.06994, allocations: 24.66 kB / 472 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.07018, allocations: 245 kB / 472.3 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.07021, allocations: 8.609 kB / 472.3 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.07025, allocations: 16.12 kB / 472.3 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.07051, allocations: 153.4 kB / 472.4 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.07053, allocations: 8 kB / 472.5 MB, free: 7.539 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.07055, allocations: 0 / 472.5 MB, free: 7.539 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.07056, allocations: 4 kB / 472.5 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.07073, allocations: 68.67 kB / 472.5 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007245/0.07147, allocations: 0.5649 MB / 473.1 MB, free: 6.844 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.07181, allocations: 106.7 kB / 473.2 MB, free: 6.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.402e-05/0.0719, allocations: 40.83 kB / 473.2 MB, free: 6.688 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.07193, allocations: 0 / 473.2 MB, free: 6.688 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.07212, allocations: 109 kB / 473.3 MB, free: 6.562 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.07214, allocations: 0 / 473.3 MB, free: 6.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003216/0.07246, allocations: 141.4 kB / 473.5 MB, free: 6.418 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.07252, allocations: 102.8 kB / 473.6 MB, free: 6.293 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.07277, allocations: 276.9 kB / 473.9 MB, free: 6.012 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.0728, allocations: 25.7 kB / 473.9 MB, free: 5.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.289e-05/0.07289, allocations: 155.6 kB / 474 MB, free: 5.824 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.07293, allocations: 31.55 kB / 474.1 MB, free: 5.793 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.07296, allocations: 21.7 kB / 474.1 MB, free: 5.766 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.221e-05/0.07306, allocations: 330.8 kB / 474.4 MB, free: 5.434 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.143e-05/0.07314, allocations: 27.98 kB / 474.4 MB, free: 5.406 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.415e-05/0.07324, allocations: 82.95 kB / 474.5 MB, free: 5.309 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.0734, allocations: 91.3 kB / 474.6 MB, free: 5.207 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.07341, allocations: 0 / 474.6 MB, free: 5.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002436/0.07366, allocations: 141.3 kB / 474.7 MB, free: 5.062 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.07368, allocations: 4.125 kB / 474.7 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.07369, allocations: 4 kB / 474.7 MB, free: 5.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.07371, allocations: 4 kB / 474.8 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.07382, allocations: 23.98 kB / 474.8 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.07383, allocations: 0 / 474.8 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.396e-05/0.07393, allocations: 15.84 kB / 474.8 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.07395, allocations: 8 kB / 474.8 MB, free: 5.004 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.0001047/0.07406, allocations: 141.7 kB / 474.9 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.07409, allocations: 19.81 kB / 475 MB, free: 4.836 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.511e-05/0.07415, allocations: 25.7 kB / 475 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.07416, allocations: 4 kB / 475 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.07416, allocations: 0 / 475 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.07417, allocations: 384 / 475 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.07436, allocations: 237.5 kB / 475.2 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.07437, allocations: 0 / 475.2 MB, free: 4.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.294e-05/0.07445, allocations: 15.98 kB / 475.2 MB, free: 4.512 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.07447, allocations: 7.938 kB / 475.2 MB, free: 4.504 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.07448, allocations: 4 kB / 475.2 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.07449, allocations: 0 / 475.2 MB, free: 4.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.0745, allocations: 4 kB / 475.2 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003298/0.07483, allocations: 188.7 kB / 475.4 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.319e-05/0.0749, allocations: 92.95 kB / 475.5 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.07493, allocations: 7.938 kB / 475.5 MB, free: 4.176 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.364e-05/0.07502, allocations: 7.984 kB / 475.5 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.07505, allocations: 7.984 kB / 475.5 MB, free: 4.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.07508, allocations: 16.06 kB / 475.6 MB, free: 4.145 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.07526, allocations: 204.4 kB / 475.8 MB, free: 3.945 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.07526, allocations: 0 / 475.8 MB, free: 3.945 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.07553, allocations: 51.83 kB / 475.8 MB, free: 3.895 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.0009498/0.07649, allocations: 455.5 kB / 476.3 MB, free: 3.621 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.07669, allocations: 75.91 kB / 476.3 MB, free: 3.547 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.0767, allocations: 0 / 476.3 MB, free: 3.547 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.07679, allocations: 43.92 kB / 476.4 MB, free: 3.504 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.07709, allocations: 40.47 kB / 476.4 MB, free: 3.465 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007222/0.07782, allocations: 0.547 MB / 477 MB, free: 2.883 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.07806, allocations: 0.7283 MB / 477.7 MB, free: 2.129 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.07811, allocations: 23.42 kB / 477.7 MB, free: 2.105 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.07812, allocations: 0 / 477.7 MB, free: 2.105 MB / 302.1 MB Notification: Performance of Templates: time 0.00432/0.08244, allocations: 2.754 MB / 480.5 MB, free: 15.37 MB / 318.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)