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.000897/0.000897, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.27/1.27, allocations: 223.3 MB / 240 MB, free: 5.305 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.0009797/0.0009797, allocations: 176.5 kB / 291.3 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03369/0.03369, allocations: 8.808 MB / 351.2 MB, free: 4.566 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003456, allocations: 12.92 kB / 414.5 MB, free: 42.8 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06368/0.06404, allocations: 52.56 MB / 467 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.002219/0.06627, allocations: 1.848 MB / 468.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.0677, allocations: 0.9238 MB / 469.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.743e-05/0.0678, allocations: 8 kB / 469.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.06809, allocations: 91.67 kB / 469.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.06833, allocations: 91.62 kB / 470 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.06864, allocations: 115.8 kB / 470.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.06888, allocations: 203.2 kB / 470.3 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.06901, allocations: 41.95 kB / 470.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.06913, allocations: 83.69 kB / 470.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.06927, allocations: 99.53 kB / 470.5 MB, free: 9.602 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.0693, allocations: 8 kB / 470.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.797e-05/0.0694, allocations: 43.98 kB / 470.6 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.06947, allocations: 35.84 kB / 470.6 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.966e-05/0.06957, allocations: 109.2 kB / 470.7 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.06976, allocations: 167.6 kB / 470.9 MB, free: 9.238 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.06977, allocations: 0 / 470.9 MB, free: 9.238 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.06978, allocations: 4 kB / 470.9 MB, free: 9.234 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.06979, allocations: 0 / 470.9 MB, free: 9.234 MB / 302.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.0005817/0.07037, allocations: 484.9 kB / 471.4 MB, free: 8.711 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.07041, allocations: 15.97 kB / 471.4 MB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.07047, allocations: 20.66 kB / 471.4 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.07071, allocations: 241.1 kB / 471.6 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.07074, allocations: 16.61 kB / 471.6 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.07077, allocations: 20.05 kB / 471.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.07102, allocations: 115.5 kB / 471.8 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.07103, allocations: 0 / 471.8 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.07106, allocations: 11.98 kB / 471.8 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.07107, allocations: 0 / 471.8 MB, free: 8.234 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001548/0.07123, allocations: 68.67 kB / 471.9 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007379/0.07197, allocations: 0.5497 MB / 472.4 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.07234, allocations: 118.6 kB / 472.5 MB, free: 7.434 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.382e-05/0.07243, allocations: 32.84 kB / 472.6 MB, free: 7.398 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.07246, allocations: 4 kB / 472.6 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.07266, allocations: 97.03 kB / 472.7 MB, free: 7.281 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.07267, allocations: 0 / 472.7 MB, free: 7.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003327/0.07301, allocations: 145.3 kB / 472.8 MB, free: 7.133 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.07306, allocations: 81.11 kB / 472.9 MB, free: 7.035 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.0733, allocations: 268.2 kB / 473.1 MB, free: 6.762 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.07332, allocations: 25.7 kB / 473.2 MB, free: 6.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.54e-05/0.07342, allocations: 147.7 kB / 473.3 MB, free: 6.582 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.07345, allocations: 35.55 kB / 473.3 MB, free: 6.547 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.07349, allocations: 17.72 kB / 473.4 MB, free: 6.523 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.708e-05/0.07359, allocations: 330.8 kB / 473.7 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.109e-05/0.07367, allocations: 27.98 kB / 473.7 MB, free: 6.164 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.817e-05/0.07376, allocations: 68.27 kB / 473.8 MB, free: 6.082 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.07392, allocations: 91.3 kB / 473.9 MB, free: 5.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.07393, allocations: 3.938 kB / 473.9 MB, free: 5.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002322/0.07417, allocations: 141.3 kB / 474 MB, free: 5.832 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.07419, allocations: 4 kB / 474 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.0742, allocations: 4 kB / 474 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.07422, allocations: 0 / 474 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.07433, allocations: 27.98 kB / 474 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.07435, allocations: 4 kB / 474 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.911e-05/0.07444, allocations: 11.88 kB / 474.1 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.07446, allocations: 4 kB / 474.1 MB, free: 5.777 MB / 302.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.000107/0.07457, allocations: 146.5 kB / 474.2 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.07461, allocations: 20.09 kB / 474.2 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.725e-05/0.07466, allocations: 25.39 kB / 474.2 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.07467, allocations: 4 kB / 474.3 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.07468, allocations: 0 / 474.3 MB, free: 5.574 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.07469, allocations: 3.938 kB / 474.3 MB, free: 5.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.07488, allocations: 245.5 kB / 474.5 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.07489, allocations: 0 / 474.5 MB, free: 5.281 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.768e-05/0.07498, allocations: 19.98 kB / 474.5 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.075, allocations: 7.938 kB / 474.5 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.07501, allocations: 4 kB / 474.5 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.07502, allocations: 3.938 kB / 474.5 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.07502, allocations: 0 / 474.5 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003146/0.07534, allocations: 180.8 kB / 474.7 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.07541, allocations: 100.8 kB / 474.8 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.07544, allocations: 4 kB / 474.8 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-05/0.07553, allocations: 8.062 kB / 474.8 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.875e-05/0.07557, allocations: 11.98 kB / 474.8 MB, free: 4.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.07559, allocations: 4 kB / 474.8 MB, free: 4.906 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001608/0.07575, allocations: 197.6 kB / 475 MB, free: 4.715 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07576, allocations: 0 / 475 MB, free: 4.715 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.07602, allocations: 43.94 kB / 475.1 MB, free: 4.672 MB / 302.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.0008683/0.07689, allocations: 399.2 kB / 475.5 MB, free: 4.438 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.07711, allocations: 87.84 kB / 475.5 MB, free: 4.352 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.07713, allocations: 0 / 475.5 MB, free: 4.352 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.528e-05/0.07722, allocations: 39.92 kB / 475.6 MB, free: 4.312 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.07752, allocations: 39.19 kB / 475.6 MB, free: 4.277 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007152/0.07825, allocations: 0.5392 MB / 476.2 MB, free: 3.703 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.07849, allocations: 0.7283 MB / 476.9 MB, free: 2.949 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.07854, allocations: 23.42 kB / 476.9 MB, free: 2.926 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.07855, allocations: 0 / 476.9 MB, free: 2.926 MB / 302.1 MB Notification: Performance of Templates: time 0.004113/0.08266, allocations: 2.519 MB / 479.4 MB, free: 428 kB / 302.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)