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.005881/0.005881, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.362/1.362, allocations: 222.9 MB / 239.4 MB, free: 4.551 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.00118/0.00118, allocations: 188.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03524/0.03524, allocations: 8.805 MB / 348.6 MB, free: 4.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 75.88 kB / 463.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1149, allocations: 51.57 MB / 0.5034 GB, free: 9.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.004159/0.1191, allocations: 2.165 MB / 0.5055 GB, free: 7.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002292/0.1214, allocations: 1.557 MB / 0.507 GB, free: 5.762 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.1216, allocations: 0 / 0.507 GB, free: 5.762 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003839/0.122, allocations: 107.5 kB / 0.5071 GB, free: 5.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003045/0.1223, allocations: 111.4 kB / 0.5072 GB, free: 5.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.1227, allocations: 139.2 kB / 0.5074 GB, free: 5.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.1229, allocations: 223.2 kB / 0.5076 GB, free: 5.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.1231, allocations: 45.66 kB / 0.5076 GB, free: 5.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.1232, allocations: 95.62 kB / 0.5077 GB, free: 5.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003115/0.1235, allocations: 115.5 kB / 0.5078 GB, free: 4.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.1236, allocations: 16 kB / 0.5078 GB, free: 4.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.1237, allocations: 67.98 kB / 0.5079 GB, free: 4.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.292e-05/0.1238, allocations: 51.81 kB / 0.508 GB, free: 4.812 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.124, allocations: 83.55 kB / 0.508 GB, free: 4.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.1244, allocations: 251.1 kB / 0.5083 GB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1244, allocations: 3.938 kB / 0.5083 GB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.1244, allocations: 0 / 0.5083 GB, free: 4.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.1245, allocations: 0 / 0.5083 GB, free: 4.48 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.0008012/0.1253, allocations: 0.5143 MB / 0.5088 GB, free: 3.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1253, allocations: 12.03 kB / 0.5088 GB, free: 3.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.362e-05/0.1254, allocations: 16.75 kB / 0.5088 GB, free: 3.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.1258, allocations: 252.9 kB / 0.5091 GB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.1258, allocations: 8.609 kB / 0.5091 GB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.1258, allocations: 16.12 kB / 0.5091 GB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.1261, allocations: 137.5 kB / 0.5092 GB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.1261, allocations: 0 / 0.5092 GB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.1262, allocations: 8 kB / 0.5092 GB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1262, allocations: 4 kB / 0.5092 GB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.1263, allocations: 78.28 kB / 0.5093 GB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007976/0.1271, allocations: 0.5454 MB / 0.5098 GB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003673/0.1275, allocations: 110.7 kB / 0.5099 GB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.124e-05/0.1276, allocations: 40.72 kB / 0.51 GB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.1276, allocations: 4 kB / 0.51 GB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.1278, allocations: 93.09 kB / 0.5101 GB, free: 2.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.1278, allocations: 8 kB / 0.5101 GB, free: 2.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003632/0.1282, allocations: 145.4 kB / 0.5102 GB, free: 2.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.9e-05/0.1283, allocations: 106.8 kB / 0.5103 GB, free: 2.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.1285, allocations: 268.9 kB / 0.5106 GB, free: 1.906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.1286, allocations: 29.7 kB / 0.5106 GB, free: 1.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.1287, allocations: 143.8 kB / 0.5107 GB, free: 1.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.1287, allocations: 27.61 kB / 0.5108 GB, free: 1.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.841e-05/0.1288, allocations: 33.59 kB / 0.5108 GB, free: 1.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1289, allocations: 342.8 kB / 0.5111 GB, free: 1.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.927e-05/0.129, allocations: 23.98 kB / 0.5111 GB, free: 1.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.242e-05/0.1291, allocations: 73.14 kB / 0.5112 GB, free: 1.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.1292, allocations: 91.39 kB / 0.5113 GB, free: 1.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1292, allocations: 0 / 0.5113 GB, free: 1.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002212/0.1295, allocations: 133.4 kB / 0.5114 GB, free: 0.9648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1295, allocations: 7.984 kB / 0.5114 GB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1295, allocations: 4 kB / 0.5114 GB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1295, allocations: 0 / 0.5114 GB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1296, allocations: 23.94 kB / 0.5115 GB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.1297, allocations: 4 kB / 0.5115 GB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.828e-05/0.1297, allocations: 19.98 kB / 0.5115 GB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1298, allocations: 4 kB / 0.5115 GB, free: 0.9023 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.0001126/0.1299, allocations: 145.7 kB / 0.5116 GB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.1299, allocations: 23.72 kB / 0.5116 GB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.973e-05/0.13, allocations: 21.7 kB / 0.5117 GB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.13, allocations: 4.375 kB / 0.5117 GB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.13, allocations: 0 / 0.5117 GB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.13, allocations: 3.938 kB / 0.5117 GB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.1302, allocations: 245.5 kB / 0.5119 GB, free: 412 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1302, allocations: 7.938 kB / 0.5119 GB, free: 404 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.98e-05/0.1303, allocations: 15.98 kB / 0.5119 GB, free: 388 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1303, allocations: 4 kB / 0.5119 GB, free: 384 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.1303, allocations: 0 / 0.5119 GB, free: 384 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1303, allocations: 0 / 0.5119 GB, free: 384 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1303, allocations: 0 / 0.5119 GB, free: 384 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.1306, allocations: 180.8 kB / 0.5121 GB, free: 184 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.1307, allocations: 105 kB / 0.5122 GB, free: 60 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.1307, allocations: 0 / 0.5122 GB, free: 60 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.506e-05/0.1308, allocations: 4 kB / 0.5122 GB, free: 56 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.1309, allocations: 7.984 kB / 0.5122 GB, free: 48 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.1309, allocations: 8 kB / 0.5122 GB, free: 40 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002286/0.1311, allocations: 204.5 kB / 0.5124 GB, free: 15.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1311, allocations: 0 / 0.5124 GB, free: 15.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.1314, allocations: 51.84 kB / 0.5125 GB, free: 15.78 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.0009835/0.1324, allocations: 456.4 kB / 0.5129 GB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.1326, allocations: 83.89 kB / 0.513 GB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1326, allocations: 0 / 0.513 GB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.1327, allocations: 44.05 kB / 0.513 GB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.133, allocations: 39.48 kB / 0.5131 GB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007388/0.1338, allocations: 436.3 kB / 0.5135 GB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.1341, allocations: 0.7357 MB / 0.5142 GB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.101e-05/0.1342, allocations: 25.48 kB / 0.5142 GB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.051e-05/0.1342, allocations: 15.44 kB / 0.5142 GB, free: 14.09 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1342, allocations: 0 / 0.5142 GB, free: 14.09 MB / 366.1 MB Notification: Performance of Templates: time 0.006247/0.1405, allocations: 2.411 MB / 0.5166 GB, free: 11.7 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)