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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001785/0.001785, 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 2.407/2.407, allocations: 222.9 MB / 239.5 MB, free: 4.75 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.002484/0.002484, allocations: 184.5 kB / 289.8 MB, free: 2.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06545/0.06545, allocations: 8.799 MB / 348.7 MB, free: 4.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002607/0.002607, allocations: 82.23 kB / 411.1 MB, free: 42.37 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.147, allocations: 51.56 MB / 462.6 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.005668/0.1528, allocations: 2.207 MB / 464.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.1553, allocations: 0.9354 MB / 465.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002006/0.1556, allocations: 3.938 kB / 465.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005482/0.1561, allocations: 99.72 kB / 465.9 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003874/0.1566, allocations: 95.56 kB / 466 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005409/0.1571, allocations: 114.8 kB / 466.1 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003944/0.1575, allocations: 207.2 kB / 466.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.1578, allocations: 41.61 kB / 466.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001921/0.158, allocations: 83.64 kB / 466.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.1582, allocations: 99.59 kB / 466.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.128e-05/0.1583, allocations: 16 kB / 466.5 MB, free: 11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001653/0.1584, allocations: 47.97 kB / 466.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.848e-05/0.1586, allocations: 43.78 kB / 466.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.1587, allocations: 87.47 kB / 466.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.159, allocations: 167.9 kB / 466.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1591, allocations: 4 kB / 466.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1591, allocations: 0 / 466.8 MB, free: 10.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1591, allocations: 0 / 466.8 MB, free: 10.66 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.001095/0.1602, allocations: 0.4987 MB / 467.3 MB, free: 10.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.1603, allocations: 8.031 kB / 467.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.681e-05/0.1604, allocations: 20.75 kB / 467.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.1608, allocations: 252.8 kB / 467.6 MB, free: 9.797 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.1609, allocations: 8.609 kB / 467.6 MB, free: 9.789 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.1609, allocations: 16.12 kB / 467.6 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/0.1614, allocations: 119.5 kB / 467.8 MB, free: 9.652 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1614, allocations: 3.984 kB / 467.8 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.1614, allocations: 4 kB / 467.8 MB, free: 9.645 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.1614, allocations: 4 kB / 467.8 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.1617, allocations: 80.61 kB / 467.9 MB, free: 9.562 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.163, allocations: 0.5379 MB / 468.4 MB, free: 8.965 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000581/0.1636, allocations: 114.7 kB / 468.5 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.1638, allocations: 36.84 kB / 468.5 MB, free: 8.805 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.297e-05/0.1638, allocations: 4 kB / 468.5 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004139/0.1643, allocations: 101 kB / 468.6 MB, free: 8.684 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 2.665e-06/0.1643, allocations: 4 kB / 468.6 MB, free: 8.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005947/0.1649, allocations: 145.6 kB / 468.8 MB, free: 8.531 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/0.165, allocations: 77.11 kB / 468.9 MB, free: 8.438 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000418/0.1654, allocations: 264.2 kB / 469.1 MB, free: 8.168 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.1654, allocations: 25.7 kB / 469.1 MB, free: 8.137 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.1656, allocations: 147.6 kB / 469.3 MB, free: 7.988 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.1657, allocations: 31.55 kB / 469.3 MB, free: 7.957 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.574e-05/0.1658, allocations: 29.72 kB / 469.3 MB, free: 7.922 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.166, allocations: 334.8 kB / 469.7 MB, free: 7.586 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/0.1661, allocations: 27.98 kB / 469.7 MB, free: 7.559 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.1663, allocations: 66.05 kB / 469.8 MB, free: 7.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.1666, allocations: 95.39 kB / 469.9 MB, free: 7.375 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.1666, allocations: 0 / 469.9 MB, free: 7.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004239/0.167, allocations: 137.4 kB / 470 MB, free: 7.234 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.167, allocations: 4 kB / 470 MB, free: 7.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1671, allocations: 3.938 kB / 470 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.1671, allocations: 4 kB / 470 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.1673, allocations: 23.98 kB / 470 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.1673, allocations: 4.094 kB / 470 MB, free: 7.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001679/0.1675, allocations: 19.89 kB / 470.1 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.1675, allocations: 4 kB / 470.1 MB, free: 7.172 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.0001878/0.1677, allocations: 142.4 kB / 470.2 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.344e-05/0.1678, allocations: 23.81 kB / 470.2 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.239e-05/0.1679, allocations: 17.41 kB / 470.2 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.1679, allocations: 0 / 470.2 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1679, allocations: 0 / 470.2 MB, free: 6.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1679, allocations: 7.984 kB / 470.2 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000356/0.1683, allocations: 249.3 kB / 470.5 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1683, allocations: 0 / 470.5 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.1684, allocations: 12 kB / 470.5 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.1685, allocations: 4 kB / 470.5 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.1685, allocations: 4 kB / 470.5 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.1685, allocations: 0 / 470.5 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1685, allocations: 7.922 kB / 470.5 MB, free: 6.652 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005353/0.1691, allocations: 188.8 kB / 470.7 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.164e-05/0.1692, allocations: 89.14 kB / 470.8 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.885e-05/0.1692, allocations: 4 kB / 470.8 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.1694, allocations: 15.92 kB / 470.8 MB, free: 6.324 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.1694, allocations: 4 kB / 470.8 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.1695, allocations: 4 kB / 470.8 MB, free: 6.316 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002843/0.1698, allocations: 197.6 kB / 471 MB, free: 6.125 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.665e-06/0.1698, allocations: 0 / 471 MB, free: 6.125 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004896/0.1703, allocations: 51.78 kB / 471.1 MB, free: 6.074 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.001565/0.1719, allocations: 405.2 kB / 471.5 MB, free: 5.832 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003918/0.1723, allocations: 83.84 kB / 471.5 MB, free: 5.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.1723, allocations: 0 / 471.5 MB, free: 5.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.1725, allocations: 43.86 kB / 471.6 MB, free: 5.707 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005501/0.173, allocations: 40.34 kB / 471.6 MB, free: 5.668 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.1744, allocations: 0.496 MB / 472.1 MB, free: 5.141 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.1748, allocations: 0.7361 MB / 472.8 MB, free: 4.379 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.737e-05/0.1749, allocations: 15.44 kB / 472.9 MB, free: 4.363 MB / 302.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1749, allocations: 4 kB / 472.9 MB, free: 4.359 MB / 302.1 MB Notification: Performance of Templates: time 0.007818/0.1828, allocations: 2.534 MB / 475.4 MB, free: 1.836 MB / 302.1 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)