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.001311/0.001311, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.453/1.453, allocations: 222.9 MB / 240.1 MB, free: 4.332 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.001629/0.001629, allocations: 188.5 kB / 290.4 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03568/0.03568, allocations: 8.796 MB / 349.3 MB, free: 4.547 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 79.81 kB / 464.6 MB, free: 13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1269, allocations: 51.56 MB / 0.5041 GB, free: 9.402 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.005454/0.1324, allocations: 2.17 MB / 0.5062 GB, free: 7.223 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002991/0.1354, allocations: 1.553 MB / 0.5077 GB, free: 5.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001956/0.1356, allocations: 7.938 kB / 0.5077 GB, free: 5.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004374/0.1361, allocations: 103.5 kB / 0.5078 GB, free: 5.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004037/0.1365, allocations: 115.4 kB / 0.5079 GB, free: 5.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.137, allocations: 134.4 kB / 0.508 GB, free: 5.309 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004008/0.1374, allocations: 219.2 kB / 0.5082 GB, free: 5.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.1376, allocations: 57.66 kB / 0.5083 GB, free: 5.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.1378, allocations: 91.62 kB / 0.5084 GB, free: 4.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004586/0.1382, allocations: 119.5 kB / 0.5085 GB, free: 4.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.409e-05/0.1383, allocations: 12 kB / 0.5085 GB, free: 4.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.1385, allocations: 63.98 kB / 0.5086 GB, free: 4.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.586e-05/0.1386, allocations: 59.81 kB / 0.5086 GB, free: 4.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.1387, allocations: 79.55 kB / 0.5087 GB, free: 4.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.139, allocations: 247.2 kB / 0.5089 GB, free: 4.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.139, allocations: 0 / 0.5089 GB, free: 4.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.139, allocations: 3.938 kB / 0.509 GB, free: 4.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.1391, allocations: 0 / 0.509 GB, free: 4.375 MB / 350.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.0008228/0.1399, allocations: 0.5143 MB / 0.5095 GB, free: 3.809 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1399, allocations: 8.031 kB / 0.5095 GB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.55e-05/0.14, allocations: 24.75 kB / 0.5095 GB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.1404, allocations: 248.9 kB / 0.5097 GB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.1404, allocations: 12.61 kB / 0.5097 GB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.1405, allocations: 12.12 kB / 0.5097 GB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.1408, allocations: 141.5 kB / 0.5099 GB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1408, allocations: 0 / 0.5099 GB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.1408, allocations: 4 kB / 0.5099 GB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1408, allocations: 8 kB / 0.5099 GB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.141, allocations: 72.66 kB / 0.51 GB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008087/0.1418, allocations: 0.5416 MB / 0.5105 GB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.1422, allocations: 106.7 kB / 0.5106 GB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.429e-05/0.1423, allocations: 40.84 kB / 0.5106 GB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.1423, allocations: 3.938 kB / 0.5106 GB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.1425, allocations: 97.03 kB / 0.5107 GB, free: 2.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.835e-06/0.1425, allocations: 3.984 kB / 0.5107 GB, free: 2.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003723/0.1429, allocations: 153.3 kB / 0.5109 GB, free: 2.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.433e-05/0.143, allocations: 106.8 kB / 0.511 GB, free: 2.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.1433, allocations: 272.9 kB / 0.5112 GB, free: 1.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.1434, allocations: 25.7 kB / 0.5113 GB, free: 1.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.1435, allocations: 143.8 kB / 0.5114 GB, free: 1.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.1436, allocations: 27.61 kB / 0.5114 GB, free: 1.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.66e-05/0.1436, allocations: 37.66 kB / 0.5115 GB, free: 1.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1438, allocations: 334.8 kB / 0.5118 GB, free: 1.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.491e-05/0.1439, allocations: 35.92 kB / 0.5118 GB, free: 1.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.922e-05/0.144, allocations: 65.14 kB / 0.5119 GB, free: 1.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.1442, allocations: 91.39 kB / 0.512 GB, free: 0.9961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1442, allocations: 0 / 0.512 GB, free: 0.9961 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002412/0.1444, allocations: 137.4 kB / 0.5121 GB, free: 0.8555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.1445, allocations: 6.031 kB / 0.5121 GB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.1445, allocations: 3.984 kB / 0.5121 GB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1445, allocations: 4 kB / 0.5121 GB, free: 0.8438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.1446, allocations: 31.94 kB / 0.5121 GB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1446, allocations: 0 / 0.5121 GB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.739e-05/0.1447, allocations: 19.98 kB / 0.5122 GB, free: 0.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.1447, allocations: 4 kB / 0.5122 GB, free: 0.7891 MB / 350.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.0001295/0.1449, allocations: 145.7 kB / 0.5123 GB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.1449, allocations: 19.72 kB / 0.5123 GB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.908e-05/0.145, allocations: 21.72 kB / 0.5123 GB, free: 0.5898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.145, allocations: 3.984 kB / 0.5123 GB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.145, allocations: 0 / 0.5123 GB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.145, allocations: 0 / 0.5123 GB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.1452, allocations: 245.5 kB / 0.5126 GB, free: 304 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1452, allocations: 4 kB / 0.5126 GB, free: 300 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.39e-05/0.1453, allocations: 19.92 kB / 0.5126 GB, free: 280 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.1453, allocations: 0 / 0.5126 GB, free: 280 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1453, allocations: 0 / 0.5126 GB, free: 280 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1454, allocations: 4 kB / 0.5126 GB, free: 276 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1454, allocations: 0 / 0.5126 GB, free: 276 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.1457, allocations: 189.1 kB / 0.5128 GB, free: 68 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.1458, allocations: 92.94 kB / 0.5129 GB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.1458, allocations: 4.062 kB / 0.5129 GB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.486e-05/0.1459, allocations: 8 kB / 0.5129 GB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.354e-05/0.146, allocations: 7.984 kB / 0.5129 GB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.146, allocations: 4 kB / 0.5129 GB, free: 15.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002028/0.1462, allocations: 204.5 kB / 0.5131 GB, free: 15.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1462, allocations: 0 / 0.5131 GB, free: 15.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003123/0.1465, allocations: 51.84 kB / 0.5131 GB, free: 15.68 MB / 366.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.001041/0.1475, allocations: 446.7 kB / 0.5136 GB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002305/0.1478, allocations: 79.84 kB / 0.5136 GB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1478, allocations: 0 / 0.5136 GB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.01e-05/0.1479, allocations: 35.98 kB / 0.5137 GB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.1482, allocations: 44.69 kB / 0.5137 GB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007841/0.149, allocations: 466.1 kB / 0.5142 GB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.1494, allocations: 0.7435 MB / 0.5149 GB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.1495, allocations: 19.44 kB / 0.5149 GB, free: 13.97 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1495, allocations: 0 / 0.5149 GB, free: 13.97 MB / 366.1 MB Notification: Performance of Templates: time 0.005034/0.1545, allocations: 2.815 MB / 0.5177 GB, free: 11.18 MB / 366.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)