Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Tables.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.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") translateModel(HanserModelica.Electrical.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007564/0.007564, allocations: 99.84 kB / 15.73 MB, free: 6.043 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.403/1.403, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.001312/0.001312, allocations: 188.5 kB / 289.7 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03548/0.03548, allocations: 8.79 MB / 348.6 MB, free: 4.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 75.88 kB / 463.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1077, allocations: 51.56 MB / 0.5034 GB, free: 9.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003269/0.111, allocations: 2.163 MB / 0.5055 GB, free: 7.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.1125, allocations: 0.9469 MB / 0.5064 GB, free: 6.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.578e-05/0.1126, allocations: 0 / 0.5064 GB, free: 6.406 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.1129, allocations: 103.5 kB / 0.5065 GB, free: 6.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.1132, allocations: 111.4 kB / 0.5066 GB, free: 6.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003029/0.1135, allocations: 123.7 kB / 0.5067 GB, free: 6.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.1138, allocations: 219.1 kB / 0.5069 GB, free: 5.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.1139, allocations: 51.62 kB / 0.507 GB, free: 5.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.1141, allocations: 99.61 kB / 0.5071 GB, free: 5.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.1142, allocations: 103.7 kB / 0.5072 GB, free: 5.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.1143, allocations: 15.94 kB / 0.5072 GB, free: 5.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1144, allocations: 51.98 kB / 0.5073 GB, free: 5.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.406e-05/0.1144, allocations: 47.83 kB / 0.5073 GB, free: 5.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.476e-05/0.1145, allocations: 87.42 kB / 0.5074 GB, free: 5.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.1148, allocations: 227.2 kB / 0.5076 GB, free: 5.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1148, allocations: 0 / 0.5076 GB, free: 5.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1148, allocations: 0 / 0.5076 GB, free: 5.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.1148, allocations: 0 / 0.5076 GB, free: 5.191 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.000656/0.1155, allocations: 0.5104 MB / 0.5081 GB, free: 4.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.1156, allocations: 8.031 kB / 0.5081 GB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.825e-05/0.1156, allocations: 20.75 kB / 0.5081 GB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.1159, allocations: 245 kB / 0.5084 GB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.1159, allocations: 8.609 kB / 0.5084 GB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.116, allocations: 20.03 kB / 0.5084 GB, free: 4.293 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.1162, allocations: 127.5 kB / 0.5085 GB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1162, allocations: 0 / 0.5085 GB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.1162, allocations: 0 / 0.5085 GB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1162, allocations: 4 kB / 0.5085 GB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.1164, allocations: 72.61 kB / 0.5086 GB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007382/0.1172, allocations: 0.5419 MB / 0.5091 GB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003445/0.1175, allocations: 110.6 kB / 0.5092 GB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.61e-05/0.1176, allocations: 44.83 kB / 0.5093 GB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.1176, allocations: 0 / 0.5093 GB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.1178, allocations: 97.09 kB / 0.5094 GB, free: 3.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.1178, allocations: 3.938 kB / 0.5094 GB, free: 3.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003567/0.1182, allocations: 137.8 kB / 0.5095 GB, free: 3.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.1183, allocations: 89.03 kB / 0.5096 GB, free: 2.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002524/0.1185, allocations: 260.2 kB / 0.5098 GB, free: 2.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.1186, allocations: 25.8 kB / 0.5098 GB, free: 2.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.562e-05/0.1186, allocations: 147.7 kB / 0.51 GB, free: 2.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.1187, allocations: 31.55 kB / 0.51 GB, free: 2.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/0.1187, allocations: 33.72 kB / 0.51 GB, free: 2.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1189, allocations: 334.8 kB / 0.5104 GB, free: 2.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.093e-05/0.1189, allocations: 27.98 kB / 0.5104 GB, free: 2.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.022e-05/0.119, allocations: 64.22 kB / 0.5105 GB, free: 2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.1192, allocations: 95.39 kB / 0.5105 GB, free: 1.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1192, allocations: 0 / 0.5105 GB, free: 1.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002235/0.1194, allocations: 133.4 kB / 0.5107 GB, free: 1.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1195, allocations: 4 kB / 0.5107 GB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1195, allocations: 4 kB / 0.5107 GB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.1195, allocations: 0 / 0.5107 GB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.1196, allocations: 32.02 kB / 0.5107 GB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.1196, allocations: 8 kB / 0.5107 GB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.415e-05/0.1197, allocations: 11.91 kB / 0.5107 GB, free: 1.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.1197, allocations: 4 kB / 0.5107 GB, free: 1.695 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.0001111/0.1198, allocations: 153.6 kB / 0.5109 GB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.1199, allocations: 15.81 kB / 0.5109 GB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.521e-05/0.1199, allocations: 25.39 kB / 0.5109 GB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1199, allocations: 0 / 0.5109 GB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1199, allocations: 0 / 0.5109 GB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.12, allocations: 8 kB / 0.5109 GB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.1201, allocations: 241.4 kB / 0.5112 GB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1201, allocations: 0 / 0.5112 GB, free: 1.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.172e-05/0.1202, allocations: 19.98 kB / 0.5112 GB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1202, allocations: 0 / 0.5112 GB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1203, allocations: 0 / 0.5112 GB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1203, allocations: 0 / 0.5112 GB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1203, allocations: 4 kB / 0.5112 GB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.1206, allocations: 188.7 kB / 0.5114 GB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.1207, allocations: 92.94 kB / 0.5114 GB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.1207, allocations: 4 kB / 0.5115 GB, free: 0.8516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.1208, allocations: 4 kB / 0.5115 GB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.1208, allocations: 7.984 kB / 0.5115 GB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.1208, allocations: 4.094 kB / 0.5115 GB, free: 0.8359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.121, allocations: 205.5 kB / 0.5117 GB, free: 0.6367 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.121, allocations: 0 / 0.5117 GB, free: 0.6367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.1212, allocations: 39.91 kB / 0.5117 GB, free: 0.5977 MB / 350.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.0008576/0.1221, allocations: 413.7 kB / 0.5121 GB, free: 356 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002067/0.1223, allocations: 71.91 kB / 0.5122 GB, free: 284 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1223, allocations: 0 / 0.5122 GB, free: 284 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.591e-05/0.1224, allocations: 47.86 kB / 0.5122 GB, free: 236 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.1227, allocations: 40.47 kB / 0.5122 GB, free: 196 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006943/0.1234, allocations: 436.5 kB / 0.5127 GB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.1237, allocations: 0.7358 MB / 0.5134 GB, free: 14.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.231e-05/0.1238, allocations: 21.53 kB / 0.5134 GB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.1238, allocations: 23.42 kB / 0.5134 GB, free: 14.93 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1238, allocations: 0 / 0.5134 GB, free: 14.93 MB / 366.1 MB Notification: Performance of Templates: time 0.005179/0.129, allocations: 2.1 MB / 0.5155 GB, free: 12.86 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Tables.makefile (rm -f HanserModelica_HanserModelica.Electrical.Tables.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Tables.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Tables.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Tables.sim & ./HanserModelica_HanserModelica.Electrical.Tables -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1)