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.001413/0.001413, allocations: 114.3 kB / 16.42 MB, free: 6.512 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.383/1.383, allocations: 222.9 MB / 240.1 MB, free: 4.547 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.001345/0.001345, allocations: 192.5 kB / 290.4 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03436/0.03436, allocations: 8.8 MB / 349.3 MB, free: 4.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 79.86 kB / 464.6 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1039, allocations: 51.56 MB / 0.5041 GB, free: 9.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.00353/0.1075, allocations: 2.17 MB / 0.5062 GB, free: 7.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.1098, allocations: 1.549 MB / 0.5077 GB, free: 5.781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.11, allocations: 3.938 kB / 0.5077 GB, free: 5.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.1104, allocations: 103.6 kB / 0.5078 GB, free: 5.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003702/0.1108, allocations: 111.4 kB / 0.5079 GB, free: 5.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.1112, allocations: 143.3 kB / 0.508 GB, free: 5.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003364/0.1116, allocations: 219.1 kB / 0.5083 GB, free: 5.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.1118, allocations: 53.66 kB / 0.5083 GB, free: 5.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001726/0.1119, allocations: 95.61 kB / 0.5084 GB, free: 5.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004858/0.1124, allocations: 107.6 kB / 0.5085 GB, free: 4.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.1125, allocations: 16 kB / 0.5085 GB, free: 4.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.1127, allocations: 67.97 kB / 0.5086 GB, free: 4.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.645e-05/0.1127, allocations: 55.77 kB / 0.5086 GB, free: 4.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.946e-05/0.1129, allocations: 83.55 kB / 0.5087 GB, free: 4.746 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003846/0.1132, allocations: 251.1 kB / 0.5089 GB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1133, allocations: 0 / 0.5089 GB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1133, allocations: 0 / 0.5089 GB, free: 4.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1133, allocations: 0 / 0.5089 GB, free: 4.5 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.0007741/0.1141, allocations: 0.5104 MB / 0.5094 GB, free: 3.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1141, allocations: 12.03 kB / 0.5095 GB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.687e-05/0.1142, allocations: 20.75 kB / 0.5095 GB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000351/0.1145, allocations: 252.9 kB / 0.5097 GB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.1146, allocations: 8.609 kB / 0.5097 GB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.09e-05/0.1146, allocations: 16.12 kB / 0.5097 GB, free: 3.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.1149, allocations: 145.4 kB / 0.5099 GB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1149, allocations: 0 / 0.5099 GB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.115, allocations: 4 kB / 0.5099 GB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.115, allocations: 4 kB / 0.5099 GB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.1152, allocations: 82.3 kB / 0.51 GB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008487/0.116, allocations: 0.5377 MB / 0.5105 GB, free: 2.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.1164, allocations: 114.7 kB / 0.5106 GB, free: 2.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.593e-05/0.1165, allocations: 32.84 kB / 0.5106 GB, free: 2.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.1165, allocations: 7.984 kB / 0.5106 GB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.1167, allocations: 101 kB / 0.5107 GB, free: 2.473 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.1167, allocations: 0 / 0.5107 GB, free: 2.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003808/0.1171, allocations: 145.4 kB / 0.5109 GB, free: 2.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.86e-05/0.1172, allocations: 106.8 kB / 0.511 GB, free: 2.195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.1175, allocations: 276.9 kB / 0.5112 GB, free: 1.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.1175, allocations: 29.7 kB / 0.5113 GB, free: 1.883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.622e-05/0.1176, allocations: 139.8 kB / 0.5114 GB, free: 1.742 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.1176, allocations: 31.59 kB / 0.5114 GB, free: 1.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/0.1177, allocations: 33.64 kB / 0.5115 GB, free: 1.672 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.1178, allocations: 330.8 kB / 0.5118 GB, free: 1.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.87e-05/0.1179, allocations: 31.98 kB / 0.5118 GB, free: 1.309 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.118, allocations: 73.12 kB / 0.5119 GB, free: 1.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.1182, allocations: 91.3 kB / 0.512 GB, free: 1.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1182, allocations: 4.031 kB / 0.512 GB, free: 1.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002522/0.1184, allocations: 137.3 kB / 0.5121 GB, free: 0.9727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1185, allocations: 4 kB / 0.5121 GB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1185, allocations: 4 kB / 0.5121 GB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1185, allocations: 0 / 0.5121 GB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1186, allocations: 23.98 kB / 0.5121 GB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.1186, allocations: 4 kB / 0.5121 GB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.941e-05/0.1187, allocations: 12 kB / 0.5121 GB, free: 0.9258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.1188, allocations: 12 kB / 0.5122 GB, free: 0.9141 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.0001288/0.1189, allocations: 149.6 kB / 0.5123 GB, free: 0.7578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.1189, allocations: 23.72 kB / 0.5123 GB, free: 0.7344 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.379e-05/0.119, allocations: 21.7 kB / 0.5123 GB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.119, allocations: 0 / 0.5123 GB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.119, allocations: 0 / 0.5123 GB, free: 0.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.1191, allocations: 92.92 kB / 0.5124 GB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.1191, allocations: 4.359 kB / 0.5124 GB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.1192, allocations: 12 kB / 0.5124 GB, free: 0.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/0.1193, allocations: 11.92 kB / 0.5125 GB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002996/0.1196, allocations: 192.8 kB / 0.5126 GB, free: 384 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003932/0.12, allocations: 326.5 kB / 0.513 GB, free: 40 kB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.292e-05/0.1201, allocations: 36.02 kB / 0.513 GB, free: 4 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002115/0.1203, allocations: 208.6 kB / 0.5132 GB, free: 15.79 MB / 366.1 MB Notification: Performance of Backend: time 5.01e-07/0.1203, allocations: 0 / 0.5132 GB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001598/0.1219, allocations: 0.5371 MB / 0.5137 GB, free: 15.46 MB / 366.1 MB Notification: Performance of SimCode: time 0.001091/0.123, allocations: 0.8927 MB / 0.5146 GB, free: 14.52 MB / 366.1 MB Notification: Performance of Templates: time 0.006601/0.1296, allocations: 2.684 MB / 0.5172 GB, free: 11.85 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)