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.001121/0.001121, allocations: 108 kB / 15.6 MB, free: 132 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.423/1.423, allocations: 222.9 MB / 239.2 MB, free: 4.598 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.001366/0.001366, allocations: 196.4 kB / 289.5 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03636/0.03636, allocations: 8.793 MB / 348.5 MB, free: 4.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.001721, allocations: 77.72 kB / 411.1 MB, free: 42.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1165, allocations: 51.56 MB / 462.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.004235/0.1208, allocations: 2.155 MB / 464.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002669/0.1235, allocations: 1.569 MB / 466.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002319/0.1238, allocations: 4 kB / 466.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004216/0.1242, allocations: 99.53 kB / 466.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004472/0.1247, allocations: 107.4 kB / 466.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.1252, allocations: 142.1 kB / 466.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003672/0.1256, allocations: 215.2 kB / 466.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.1258, allocations: 49.66 kB / 467 MB, free: 9.973 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.126, allocations: 95.61 kB / 467.1 MB, free: 9.879 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004543/0.1264, allocations: 115.5 kB / 467.2 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.188e-05/0.1265, allocations: 12 kB / 467.2 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.1267, allocations: 75.95 kB / 467.3 MB, free: 9.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.186e-05/0.1268, allocations: 47.84 kB / 467.3 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.1269, allocations: 79.55 kB / 467.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.1273, allocations: 247.5 kB / 467.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1273, allocations: 0 / 467.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1273, allocations: 0 / 467.6 MB, free: 9.312 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.1273, allocations: 0 / 467.6 MB, free: 9.312 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.0008665/0.1282, allocations: 0.5181 MB / 468.1 MB, free: 8.742 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1283, allocations: 12.03 kB / 468.1 MB, free: 8.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.882e-05/0.1283, allocations: 20.66 kB / 468.2 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.1287, allocations: 249 kB / 468.4 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.1287, allocations: 8.609 kB / 468.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.1288, allocations: 16.12 kB / 468.4 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.129, allocations: 137.5 kB / 468.6 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1291, allocations: 4 kB / 468.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/0.1291, allocations: 4 kB / 468.6 MB, free: 8.254 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1291, allocations: 7.938 kB / 468.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.1293, allocations: 76.66 kB / 468.7 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008929/0.1302, allocations: 0.5533 MB / 469.2 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000414/0.1306, allocations: 102.7 kB / 469.3 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.629e-05/0.1307, allocations: 36.84 kB / 469.3 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.1307, allocations: 7.938 kB / 469.4 MB, free: 7.402 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002521/0.131, allocations: 97.09 kB / 469.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.131, allocations: 0 / 469.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003693/0.1314, allocations: 145.3 kB / 469.6 MB, free: 7.141 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.15e-05/0.1315, allocations: 114.7 kB / 469.7 MB, free: 7.004 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.1317, allocations: 265 kB / 470 MB, free: 6.734 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.1318, allocations: 29.7 kB / 470 MB, free: 6.699 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.545e-05/0.1319, allocations: 151.7 kB / 470.1 MB, free: 6.547 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.1319, allocations: 31.59 kB / 470.2 MB, free: 6.516 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.724e-05/0.132, allocations: 29.72 kB / 470.2 MB, free: 6.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1321, allocations: 334.8 kB / 470.5 MB, free: 6.145 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.921e-05/0.1322, allocations: 39.86 kB / 470.6 MB, free: 6.105 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.398e-05/0.1323, allocations: 69.14 kB / 470.6 MB, free: 6.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1324, allocations: 87.36 kB / 470.7 MB, free: 5.922 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1324, allocations: 0 / 470.7 MB, free: 5.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002523/0.1327, allocations: 137.3 kB / 470.9 MB, free: 5.781 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1327, allocations: 8.125 kB / 470.9 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1327, allocations: 7.984 kB / 470.9 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1328, allocations: 0 / 470.9 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1329, allocations: 31.94 kB / 470.9 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1329, allocations: 384 / 470.9 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.775e-05/0.133, allocations: 15.98 kB / 470.9 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.133, allocations: 4 kB / 470.9 MB, free: 5.715 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.0001334/0.1331, allocations: 149.7 kB / 471.1 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.1332, allocations: 23.66 kB / 471.1 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.311e-05/0.1332, allocations: 25.72 kB / 471.1 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1333, allocations: 3.984 kB / 471.1 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1333, allocations: 0 / 471.1 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1333, allocations: 0 / 471.1 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.1335, allocations: 237.5 kB / 471.3 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1335, allocations: 4 kB / 471.4 MB, free: 5.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.494e-05/0.1336, allocations: 19.92 kB / 471.4 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1336, allocations: 0 / 471.4 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.1336, allocations: 0 / 471.4 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1336, allocations: 0 / 471.4 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1336, allocations: 0 / 471.4 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.134, allocations: 196.7 kB / 471.6 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.1341, allocations: 92.94 kB / 471.7 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.1341, allocations: 0 / 471.7 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.1342, allocations: 4 kB / 471.7 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.1342, allocations: 11.98 kB / 471.7 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.1342, allocations: 4 kB / 471.7 MB, free: 4.863 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002196/0.1345, allocations: 204.5 kB / 471.9 MB, free: 4.664 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1345, allocations: 0 / 471.9 MB, free: 4.664 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002907/0.1348, allocations: 51.94 kB / 471.9 MB, free: 4.613 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.00107/0.1359, allocations: 449.1 kB / 472.4 MB, free: 4.344 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002547/0.1361, allocations: 99.77 kB / 472.5 MB, free: 4.246 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1361, allocations: 0 / 472.5 MB, free: 4.246 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.391e-05/0.1362, allocations: 39.92 kB / 472.5 MB, free: 4.207 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.1365, allocations: 42.39 kB / 472.5 MB, free: 4.172 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008342/0.1374, allocations: 428.5 kB / 473 MB, free: 3.727 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.1377, allocations: 0.7397 MB / 473.7 MB, free: 2.961 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.256e-05/0.1378, allocations: 13.55 kB / 473.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.2e-05/0.1378, allocations: 23.44 kB / 473.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1378, allocations: 0 / 473.7 MB, free: 2.926 MB / 302.1 MB Notification: Performance of Templates: time 0.006015/0.1439, allocations: 2.401 MB / 476.1 MB, free: 0.5508 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)