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.001634/0.001634, allocations: 100.1 kB / 15.88 MB, free: 12 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.677/1.677, allocations: 222.9 MB / 239.5 MB, free: 4.73 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.001416/0.001416, allocations: 196.4 kB / 289.8 MB, free: 2.461 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04376/0.04376, allocations: 8.798 MB / 348.7 MB, free: 4.875 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002513/0.002514, allocations: 75.25 kB / 411.1 MB, free: 42.37 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1405, allocations: 51.57 MB / 462.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.005316/0.1459, allocations: 2.207 MB / 464.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003304/0.1492, allocations: 1.522 MB / 466.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000263/0.1495, allocations: 4 kB / 466.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005439/0.1501, allocations: 99.67 kB / 466.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005122/0.1507, allocations: 95.62 kB / 466.6 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005154/0.1512, allocations: 115.8 kB / 466.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004748/0.1517, allocations: 215.1 kB / 466.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000186/0.1519, allocations: 37.66 kB / 466.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.1522, allocations: 99.56 kB / 467 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.1525, allocations: 106.5 kB / 467.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.839e-05/0.1526, allocations: 12 kB / 467.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/0.1529, allocations: 63.97 kB / 467.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.727e-05/0.153, allocations: 43.83 kB / 467.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.1531, allocations: 83.42 kB / 467.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.1535, allocations: 183.9 kB / 467.5 MB, free: 9.977 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1535, allocations: 3.938 kB / 467.5 MB, free: 9.973 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1535, allocations: 0 / 467.5 MB, free: 9.973 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1536, allocations: 0 / 467.5 MB, free: 9.973 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.001002/0.1546, allocations: 0.5113 MB / 468 MB, free: 9.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.1546, allocations: 12.03 kB / 468 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.362e-05/0.1547, allocations: 20.66 kB / 468 MB, free: 9.379 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.1551, allocations: 249 kB / 468.3 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.1552, allocations: 8.609 kB / 468.3 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.1552, allocations: 16.12 kB / 468.3 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.1556, allocations: 145.5 kB / 468.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.1556, allocations: 0 / 468.4 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.1557, allocations: 7.922 kB / 468.5 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1557, allocations: 4 kB / 468.5 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.1559, allocations: 72.67 kB / 468.5 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.1569, allocations: 0.5494 MB / 469.1 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004491/0.1574, allocations: 110.6 kB / 469.2 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.1575, allocations: 32.84 kB / 469.2 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.1575, allocations: 11.94 kB / 469.2 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003436/0.1579, allocations: 101 kB / 469.3 MB, free: 7.949 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.1579, allocations: 0 / 469.3 MB, free: 7.949 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004494/0.1583, allocations: 149.2 kB / 469.5 MB, free: 7.797 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.066e-05/0.1584, allocations: 106.8 kB / 469.6 MB, free: 7.668 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003632/0.1588, allocations: 269 kB / 469.8 MB, free: 7.395 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.1588, allocations: 29.7 kB / 469.9 MB, free: 7.359 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.159, allocations: 151.7 kB / 470 MB, free: 7.207 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.748e-05/0.1591, allocations: 27.61 kB / 470 MB, free: 7.18 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.824e-05/0.1591, allocations: 33.7 kB / 470.1 MB, free: 7.141 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.1594, allocations: 330.8 kB / 470.4 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.851e-05/0.1595, allocations: 31.92 kB / 470.4 MB, free: 6.777 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.1596, allocations: 69.14 kB / 470.5 MB, free: 6.691 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.1598, allocations: 91.36 kB / 470.6 MB, free: 6.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1598, allocations: 0 / 470.6 MB, free: 6.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003048/0.1601, allocations: 153.3 kB / 470.7 MB, free: 6.434 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.1601, allocations: 8 kB / 470.7 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1601, allocations: 0 / 470.7 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1601, allocations: 0 / 470.7 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.1603, allocations: 20 kB / 470.8 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.1603, allocations: 7.984 kB / 470.8 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.1604, allocations: 8 kB / 470.8 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.1604, allocations: 8 kB / 470.8 MB, free: 6.383 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.0001432/0.1606, allocations: 141.6 kB / 470.9 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.1606, allocations: 27.75 kB / 471 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.124e-05/0.1607, allocations: 21.7 kB / 471 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1607, allocations: 4 kB / 471 MB, free: 6.184 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.1607, allocations: 0 / 471 MB, free: 6.184 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.1607, allocations: 0 / 471 MB, free: 6.184 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.161, allocations: 241.5 kB / 471.2 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.161, allocations: 0 / 471.2 MB, free: 5.898 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.1611, allocations: 19.98 kB / 471.2 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.1611, allocations: 4 kB / 471.2 MB, free: 5.875 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.1611, allocations: 4 kB / 471.2 MB, free: 5.871 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1611, allocations: 4 kB / 471.2 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1612, allocations: 0 / 471.2 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004892/0.1616, allocations: 189.1 kB / 471.4 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.1617, allocations: 93 kB / 471.5 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.43e-05/0.1618, allocations: 7.938 kB / 471.5 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.397e-05/0.1619, allocations: 4 kB / 471.5 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.1619, allocations: 7.984 kB / 471.5 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.1619, allocations: 8.062 kB / 471.6 MB, free: 5.527 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002385/0.1622, allocations: 208.4 kB / 471.8 MB, free: 5.324 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1622, allocations: 0 / 471.8 MB, free: 5.324 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003076/0.1625, allocations: 51.88 kB / 471.8 MB, free: 5.273 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.00115/0.1637, allocations: 457.7 kB / 472.3 MB, free: 4.996 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.1639, allocations: 75.91 kB / 472.3 MB, free: 4.922 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1639, allocations: 0 / 472.3 MB, free: 4.922 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.879e-05/0.1641, allocations: 39.92 kB / 472.4 MB, free: 4.883 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1644, allocations: 39.67 kB / 472.4 MB, free: 4.848 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.1655, allocations: 0.504 MB / 472.9 MB, free: 4.309 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005163/0.166, allocations: 0.74 MB / 473.6 MB, free: 3.543 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.451e-05/0.1661, allocations: 19.42 kB / 473.7 MB, free: 3.523 MB / 302.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1662, allocations: 0 / 473.7 MB, free: 3.523 MB / 302.1 MB Notification: Performance of Templates: time 0.009423/0.1756, allocations: 2.771 MB / 476.4 MB, free: 0.7656 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)