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.001607/0.001607, allocations: 113.8 kB / 16.42 MB, free: 6.465 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.341/1.341, allocations: 222.9 MB / 240.1 MB, free: 4.535 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.001624/0.001624, allocations: 188.5 kB / 290.4 MB, free: 2.242 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.806 MB / 349.3 MB, free: 4.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 79.86 kB / 464.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08727/0.08874, allocations: 51.56 MB / 0.504 GB, free: 9.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.00325/0.09203, allocations: 2.163 MB / 0.5062 GB, free: 7.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.09352, allocations: 0.9508 MB / 0.5071 GB, free: 6.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.728e-05/0.09363, allocations: 0 / 0.5071 GB, free: 6.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.09398, allocations: 111.5 kB / 0.5072 GB, free: 6.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.09425, allocations: 103.5 kB / 0.5073 GB, free: 6.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.09458, allocations: 135.5 kB / 0.5074 GB, free: 6.031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.09484, allocations: 219.2 kB / 0.5076 GB, free: 5.816 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.09498, allocations: 49.66 kB / 0.5077 GB, free: 5.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.09511, allocations: 91.62 kB / 0.5078 GB, free: 5.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.09526, allocations: 111.6 kB / 0.5079 GB, free: 5.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.955e-05/0.0953, allocations: 12 kB / 0.5079 GB, free: 5.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.09541, allocations: 48 kB / 0.5079 GB, free: 5.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.661e-05/0.09548, allocations: 47.81 kB / 0.508 GB, free: 5.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.633e-05/0.09557, allocations: 87.48 kB / 0.5081 GB, free: 5.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.09585, allocations: 227.2 kB / 0.5083 GB, free: 5.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.09586, allocations: 4 kB / 0.5083 GB, free: 5.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.09587, allocations: 0 / 0.5083 GB, free: 5.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.09588, allocations: 4 kB / 0.5083 GB, free: 5.148 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.0006404/0.09652, allocations: 0.5026 MB / 0.5088 GB, free: 4.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.09656, allocations: 8.031 kB / 0.5088 GB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.773e-05/0.09663, allocations: 20.75 kB / 0.5088 GB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.09692, allocations: 241 kB / 0.509 GB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.09695, allocations: 16.55 kB / 0.509 GB, free: 4.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.09699, allocations: 20.03 kB / 0.5091 GB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.09723, allocations: 119.5 kB / 0.5092 GB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.09725, allocations: 0 / 0.5092 GB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.09727, allocations: 4 kB / 0.5092 GB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.09728, allocations: 4 kB / 0.5092 GB, free: 4.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.09744, allocations: 72.67 kB / 0.5093 GB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007322/0.09818, allocations: 0.5418 MB / 0.5098 GB, free: 3.449 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.09853, allocations: 106.7 kB / 0.5099 GB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.581e-05/0.09863, allocations: 44.78 kB / 0.5099 GB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/0.09866, allocations: 7.984 kB / 0.5099 GB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.09883, allocations: 93.09 kB / 0.51 GB, free: 3.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.09884, allocations: 0 / 0.51 GB, free: 3.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003363/0.09919, allocations: 149.3 kB / 0.5102 GB, free: 3.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.09924, allocations: 77.11 kB / 0.5102 GB, free: 2.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.09948, allocations: 260.2 kB / 0.5105 GB, free: 2.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.0995, allocations: 29.7 kB / 0.5105 GB, free: 2.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.835e-05/0.0996, allocations: 143.8 kB / 0.5107 GB, free: 2.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.09963, allocations: 31.55 kB / 0.5107 GB, free: 2.449 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.873e-05/0.09969, allocations: 29.72 kB / 0.5107 GB, free: 2.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.09981, allocations: 330.8 kB / 0.511 GB, free: 2.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-05/0.0999, allocations: 31.92 kB / 0.5111 GB, free: 2.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.055e-05/0.1, allocations: 68.22 kB / 0.5111 GB, free: 1.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.1002, allocations: 95.3 kB / 0.5112 GB, free: 1.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1002, allocations: 0 / 0.5112 GB, free: 1.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000239/0.1004, allocations: 133.4 kB / 0.5113 GB, free: 1.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1004, allocations: 8.125 kB / 0.5114 GB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1005, allocations: 7.984 kB / 0.5114 GB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1005, allocations: 0 / 0.5114 GB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.1006, allocations: 23.94 kB / 0.5114 GB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.1006, allocations: 4 kB / 0.5114 GB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.075e-05/0.1007, allocations: 15.89 kB / 0.5114 GB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.1007, allocations: 4 kB / 0.5114 GB, free: 1.664 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.0001197/0.1008, allocations: 145.6 kB / 0.5115 GB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.1009, allocations: 23.81 kB / 0.5116 GB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.239e-05/0.1009, allocations: 25.39 kB / 0.5116 GB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1009, allocations: 3.984 kB / 0.5116 GB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.101, allocations: 0 / 0.5116 GB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.101, allocations: 92.92 kB / 0.5117 GB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.1011, allocations: 4 kB / 0.5117 GB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.1011, allocations: 7.984 kB / 0.5117 GB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.1012, allocations: 15.88 kB / 0.5117 GB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002968/0.1015, allocations: 185.3 kB / 0.5119 GB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003633/0.1019, allocations: 338.5 kB / 0.5122 GB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.715e-05/0.1019, allocations: 39.94 kB / 0.5122 GB, free: 0.7383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001576/0.1021, allocations: 201.5 kB / 0.5124 GB, free: 0.543 MB / 350.1 MB Notification: Performance of Backend: time 7.11e-07/0.1021, allocations: 0 / 0.5124 GB, free: 0.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.1035, allocations: 0.4887 MB / 0.5129 GB, free: 244 kB / 350.1 MB Notification: Performance of SimCode: time 0.0008711/0.1044, allocations: 0.8768 MB / 0.5138 GB, free: 15.32 MB / 366.1 MB Notification: Performance of Templates: time 0.005187/0.1096, allocations: 2.336 MB / 0.5161 GB, free: 13 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)