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.004519/0.004519, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.295/1.295, allocations: 222.9 MB / 239.4 MB, free: 4.52 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.001303/0.001302, allocations: 180.5 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03315/0.03315, allocations: 8.793 MB / 348.6 MB, free: 4.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 79.88 kB / 463.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08874/0.09014, allocations: 51.56 MB / 0.5034 GB, free: 9.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.003127/0.0933, allocations: 2.165 MB / 0.5055 GB, free: 7.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.09527, allocations: 1.557 MB / 0.507 GB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.09538, allocations: 4 kB / 0.507 GB, free: 5.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.09572, allocations: 107.5 kB / 0.5071 GB, free: 5.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.09599, allocations: 111.4 kB / 0.5072 GB, free: 5.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.09634, allocations: 131.3 kB / 0.5074 GB, free: 5.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002613/0.09662, allocations: 231.2 kB / 0.5076 GB, free: 5.172 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.09676, allocations: 45.66 kB / 0.5076 GB, free: 5.129 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.09689, allocations: 91.62 kB / 0.5077 GB, free: 5.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008199/0.1051, allocations: 115.6 kB / 0.5078 GB, free: 4.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.833e-05/0.1052, allocations: 16 kB / 0.5078 GB, free: 4.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002016/0.1054, allocations: 67.98 kB / 0.5079 GB, free: 4.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.931e-05/0.1055, allocations: 47.77 kB / 0.508 GB, free: 4.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.1056, allocations: 87.53 kB / 0.508 GB, free: 4.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.106, allocations: 246.9 kB / 0.5083 GB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1061, allocations: 0 / 0.5083 GB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1061, allocations: 4 kB / 0.5083 GB, free: 4.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.1061, allocations: 0 / 0.5083 GB, free: 4.465 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.0007761/0.1069, allocations: 0.5178 MB / 0.5088 GB, free: 3.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1069, allocations: 11.97 kB / 0.5088 GB, free: 3.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.079e-05/0.107, allocations: 28.78 kB / 0.5088 GB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003713/0.1074, allocations: 241.2 kB / 0.5091 GB, free: 3.578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.1074, allocations: 8.609 kB / 0.5091 GB, free: 3.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.1074, allocations: 16.12 kB / 0.5091 GB, free: 3.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.1077, allocations: 141.4 kB / 0.5092 GB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1077, allocations: 0 / 0.5092 GB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.99e-05/0.1078, allocations: 12 kB / 0.5092 GB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1078, allocations: 8 kB / 0.5092 GB, free: 3.387 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.1079, allocations: 74.3 kB / 0.5093 GB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008532/0.1088, allocations: 0.5495 MB / 0.5098 GB, free: 2.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.1092, allocations: 106.7 kB / 0.5099 GB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.624e-05/0.1093, allocations: 44.78 kB / 0.51 GB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.1093, allocations: 0 / 0.51 GB, free: 2.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000199/0.1095, allocations: 101 kB / 0.5101 GB, free: 2.426 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.1095, allocations: 4 kB / 0.5101 GB, free: 2.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003789/0.1099, allocations: 141.5 kB / 0.5102 GB, free: 2.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.11, allocations: 106.8 kB / 0.5103 GB, free: 2.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.1103, allocations: 277 kB / 0.5106 GB, free: 1.871 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.1103, allocations: 25.7 kB / 0.5106 GB, free: 1.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.418e-05/0.1104, allocations: 140 kB / 0.5107 GB, free: 1.699 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.1105, allocations: 39.72 kB / 0.5108 GB, free: 1.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.1105, allocations: 33.67 kB / 0.5108 GB, free: 1.621 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1106, allocations: 338.8 kB / 0.5111 GB, free: 1.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.045e-05/0.1107, allocations: 27.98 kB / 0.5112 GB, free: 1.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.461e-05/0.1108, allocations: 69.08 kB / 0.5112 GB, free: 1.168 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.111, allocations: 91.39 kB / 0.5113 GB, free: 1.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.111, allocations: 0 / 0.5113 GB, free: 1.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002305/0.1112, allocations: 141.4 kB / 0.5114 GB, free: 0.9219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1112, allocations: 8 kB / 0.5115 GB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1113, allocations: 0 / 0.5115 GB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1113, allocations: 0 / 0.5115 GB, free: 0.9141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.1114, allocations: 31.97 kB / 0.5115 GB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1114, allocations: 3.938 kB / 0.5115 GB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.706e-05/0.1115, allocations: 23.97 kB / 0.5115 GB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.1115, allocations: 8 kB / 0.5115 GB, free: 0.8477 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.0001145/0.1116, allocations: 137.8 kB / 0.5117 GB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.1117, allocations: 19.86 kB / 0.5117 GB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.1117, allocations: 21.72 kB / 0.5117 GB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1117, allocations: 0 / 0.5117 GB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1117, allocations: 0 / 0.5117 GB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.1118, allocations: 3.984 kB / 0.5117 GB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.112, allocations: 245.5 kB / 0.5119 GB, free: 372 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.112, allocations: 384 / 0.5119 GB, free: 372 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.952e-05/0.1121, allocations: 15.94 kB / 0.5119 GB, free: 356 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1121, allocations: 0 / 0.5119 GB, free: 356 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1121, allocations: 7.984 kB / 0.512 GB, free: 348 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1121, allocations: 3.938 kB / 0.512 GB, free: 344 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1121, allocations: 0 / 0.512 GB, free: 344 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.1124, allocations: 188.8 kB / 0.5121 GB, free: 136 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.1125, allocations: 97.05 kB / 0.5122 GB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.1125, allocations: 7.984 kB / 0.5122 GB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.391e-05/0.1126, allocations: 8 kB / 0.5122 GB, free: 4 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.1127, allocations: 8.047 kB / 0.5123 GB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.1127, allocations: 4 kB / 0.5123 GB, free: 15.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.1129, allocations: 208.4 kB / 0.5125 GB, free: 15.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.134e-06/0.1129, allocations: 0 / 0.5125 GB, free: 15.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002469/0.1132, allocations: 47.83 kB / 0.5125 GB, free: 15.74 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.0009616/0.1141, allocations: 448.8 kB / 0.5129 GB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002124/0.1143, allocations: 83.84 kB / 0.513 GB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1144, allocations: 0 / 0.513 GB, free: 15.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.17e-05/0.1144, allocations: 40.17 kB / 0.513 GB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.1147, allocations: 47.81 kB / 0.5131 GB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007077/0.1155, allocations: 447.8 kB / 0.5135 GB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.1157, allocations: 0.728 MB / 0.5142 GB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.864e-05/0.1158, allocations: 21.55 kB / 0.5142 GB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.329e-05/0.1159, allocations: 23.44 kB / 0.5143 GB, free: 14.04 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1159, allocations: 3.938 kB / 0.5143 GB, free: 14.03 MB / 366.1 MB Notification: Performance of Templates: time 0.005376/0.1213, allocations: 2.395 MB / 0.5166 GB, free: 11.66 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)