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.001288/0.001288, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.335/1.335, 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.001357/0.001357, allocations: 196.4 kB / 290.4 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0346/0.0346, allocations: 8.795 MB / 349.3 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 79.86 kB / 464.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0863/0.08776, allocations: 51.56 MB / 0.504 GB, free: 9.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.003452/0.09125, allocations: 2.172 MB / 0.5062 GB, free: 7.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002331/0.09361, allocations: 1.553 MB / 0.5077 GB, free: 5.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000185/0.09382, allocations: 4 kB / 0.5077 GB, free: 5.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004245/0.09426, allocations: 107.5 kB / 0.5078 GB, free: 5.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003617/0.09467, allocations: 111.4 kB / 0.5079 GB, free: 5.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.09508, allocations: 135.5 kB / 0.508 GB, free: 5.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.0954, allocations: 223.2 kB / 0.5082 GB, free: 5.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.09556, allocations: 49.66 kB / 0.5083 GB, free: 5.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.09572, allocations: 99.61 kB / 0.5084 GB, free: 5.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004678/0.0962, allocations: 107.6 kB / 0.5085 GB, free: 4.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.09625, allocations: 12 kB / 0.5085 GB, free: 4.938 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.09642, allocations: 75.91 kB / 0.5086 GB, free: 4.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.242e-05/0.09651, allocations: 47.83 kB / 0.5086 GB, free: 4.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.818e-05/0.09661, allocations: 83.55 kB / 0.5087 GB, free: 4.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.09697, allocations: 251.1 kB / 0.5089 GB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.09698, allocations: 3.938 kB / 0.5089 GB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.09699, allocations: 0 / 0.5089 GB, free: 4.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.097, allocations: 0 / 0.5089 GB, free: 4.484 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.0007291/0.09774, allocations: 0.5143 MB / 0.5094 GB, free: 3.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.09778, allocations: 8.031 kB / 0.5094 GB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.09785, allocations: 20.75 kB / 0.5095 GB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.0982, allocations: 252.9 kB / 0.5097 GB, free: 3.602 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.09822, allocations: 12.61 kB / 0.5097 GB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.297e-05/0.09826, allocations: 16.12 kB / 0.5097 GB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002699/0.09854, allocations: 141.4 kB / 0.5099 GB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.09855, allocations: 0 / 0.5099 GB, free: 3.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.09858, allocations: 4 kB / 0.5099 GB, free: 3.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.09859, allocations: 4 kB / 0.5099 GB, free: 3.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.09877, allocations: 82.3 kB / 0.51 GB, free: 3.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007843/0.09956, allocations: 0.5454 MB / 0.5105 GB, free: 2.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.09993, allocations: 106.7 kB / 0.5106 GB, free: 2.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.17e-05/0.1, allocations: 36.84 kB / 0.5106 GB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.1001, allocations: 3.984 kB / 0.5106 GB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.1002, allocations: 97.03 kB / 0.5107 GB, free: 2.461 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.1002, allocations: 0 / 0.5107 GB, free: 2.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003504/0.1006, allocations: 145.4 kB / 0.5109 GB, free: 2.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.1007, allocations: 106.8 kB / 0.511 GB, free: 2.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.101, allocations: 276.9 kB / 0.5112 GB, free: 1.906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.101, allocations: 29.7 kB / 0.5113 GB, free: 1.871 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.764e-05/0.1011, allocations: 139.8 kB / 0.5114 GB, free: 1.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.1011, allocations: 32 kB / 0.5114 GB, free: 1.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.1012, allocations: 33.64 kB / 0.5115 GB, free: 1.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1013, allocations: 330.8 kB / 0.5118 GB, free: 1.328 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-05/0.1014, allocations: 31.98 kB / 0.5118 GB, free: 1.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1015, allocations: 81 kB / 0.5119 GB, free: 1.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.1017, allocations: 83.36 kB / 0.512 GB, free: 1.105 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1017, allocations: 8.031 kB / 0.512 GB, free: 1.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002473/0.1019, allocations: 137.4 kB / 0.5121 GB, free: 0.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1019, allocations: 4 kB / 0.5121 GB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.102, allocations: 0 / 0.5121 GB, free: 0.9531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.102, allocations: 4 kB / 0.5121 GB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1021, allocations: 27.92 kB / 0.5121 GB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1021, allocations: 0 / 0.5121 GB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.643e-05/0.1022, allocations: 11.91 kB / 0.5121 GB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.1022, allocations: 16.09 kB / 0.5122 GB, free: 0.8945 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.000122/0.1024, allocations: 143.4 kB / 0.5123 GB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.1024, allocations: 19.72 kB / 0.5123 GB, free: 0.7266 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.202e-05/0.1024, allocations: 25.7 kB / 0.5123 GB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1025, allocations: 0 / 0.5123 GB, free: 0.6953 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1025, allocations: 4 kB / 0.5123 GB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1025, allocations: 0 / 0.5123 GB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.1027, allocations: 241.5 kB / 0.5126 GB, free: 416 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1027, allocations: 0 / 0.5126 GB, free: 416 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.773e-05/0.1028, allocations: 23.92 kB / 0.5126 GB, free: 392 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1028, allocations: 0 / 0.5126 GB, free: 392 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.1028, allocations: 8 kB / 0.5126 GB, free: 384 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1028, allocations: 0 / 0.5126 GB, free: 384 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1028, allocations: 0 / 0.5126 GB, free: 384 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.1032, allocations: 184.8 kB / 0.5128 GB, free: 180 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.1032, allocations: 88.95 kB / 0.5129 GB, free: 72 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.1033, allocations: 4 kB / 0.5129 GB, free: 68 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-05/0.1034, allocations: 16.05 kB / 0.5129 GB, free: 52 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.1034, allocations: 4 kB / 0.5129 GB, free: 48 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.1034, allocations: 0 / 0.5129 GB, free: 48 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002031/0.1036, allocations: 212.4 kB / 0.5131 GB, free: 15.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1036, allocations: 0 / 0.5131 GB, free: 15.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00028/0.1039, allocations: 55.83 kB / 0.5131 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.0009777/0.1049, allocations: 447.4 kB / 0.5136 GB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002187/0.1051, allocations: 79.84 kB / 0.5136 GB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1051, allocations: 4 kB / 0.5136 GB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.409e-05/0.1052, allocations: 31.98 kB / 0.5137 GB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.1055, allocations: 55.42 kB / 0.5137 GB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007973/0.1064, allocations: 465.9 kB / 0.5142 GB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.1067, allocations: 0.7318 MB / 0.5149 GB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/0.1067, allocations: 27.36 kB / 0.5149 GB, free: 14.07 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1067, allocations: 0 / 0.5149 GB, free: 14.07 MB / 366.1 MB Notification: Performance of Templates: time 0.004825/0.1115, allocations: 2.802 MB / 0.5176 GB, free: 11.28 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)