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.001653/0.001653, allocations: 106.5 kB / 16.36 MB, free: 5.824 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.449/1.449, allocations: 222.9 MB / 240 MB, free: 4.5 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.001295/0.001295, allocations: 192.2 kB / 290.3 MB, free: 2.227 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.8 MB / 349.3 MB, free: 4.582 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 83.86 kB / 412.5 MB, free: 41.62 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08325/0.08478, allocations: 51.56 MB / 464.1 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003396/0.08821, allocations: 2.136 MB / 466.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.08966, allocations: 0.9625 MB / 467.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.426e-05/0.08976, allocations: 4 kB / 467.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.09011, allocations: 103.5 kB / 467.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000282/0.09041, allocations: 107.4 kB / 467.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.09075, allocations: 134.2 kB / 467.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.091, allocations: 219.2 kB / 467.7 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.09116, allocations: 45.66 kB / 467.8 MB, free: 9.777 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.09128, allocations: 87.69 kB / 467.9 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.09143, allocations: 107.6 kB / 468 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.09147, allocations: 16 kB / 468 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.09157, allocations: 51.97 kB / 468 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.808e-05/0.09165, allocations: 47.78 kB / 468.1 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.295e-05/0.09175, allocations: 87.47 kB / 468.2 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.09202, allocations: 235.2 kB / 468.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.09204, allocations: 0 / 468.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.09204, allocations: 0 / 468.4 MB, free: 9.156 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.09205, allocations: 0 / 468.4 MB, free: 9.156 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.0006598/0.09272, allocations: 0.5026 MB / 468.9 MB, free: 8.602 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.09276, allocations: 8.031 kB / 468.9 MB, free: 8.594 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.867e-05/0.09282, allocations: 24.73 kB / 468.9 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.09312, allocations: 244.9 kB / 469.2 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.09315, allocations: 16.59 kB / 469.2 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.09319, allocations: 16.12 kB / 469.2 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.09343, allocations: 119.5 kB / 469.3 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.09345, allocations: 3.938 kB / 469.3 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.09347, allocations: 4 kB / 469.3 MB, free: 8.129 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.09349, allocations: 11.94 kB / 469.3 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.09365, allocations: 72.66 kB / 469.4 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007654/0.09442, allocations: 0.5418 MB / 470 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.09479, allocations: 110.7 kB / 470.1 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.304e-05/0.09488, allocations: 36.84 kB / 470.1 MB, free: 7.289 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.09491, allocations: 0 / 470.1 MB, free: 7.289 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.0951, allocations: 105 kB / 470.2 MB, free: 7.168 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.09511, allocations: 0 / 470.2 MB, free: 7.168 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003389/0.09546, allocations: 145.4 kB / 470.3 MB, free: 7.02 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.09551, allocations: 81.11 kB / 470.4 MB, free: 6.922 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.09575, allocations: 260.2 kB / 470.7 MB, free: 6.656 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.09577, allocations: 29.7 kB / 470.7 MB, free: 6.621 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.914e-05/0.09587, allocations: 147.6 kB / 470.8 MB, free: 6.473 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.0959, allocations: 27.56 kB / 470.9 MB, free: 6.445 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/0.09595, allocations: 33.7 kB / 470.9 MB, free: 6.406 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.09607, allocations: 330.8 kB / 471.2 MB, free: 6.074 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.092e-05/0.09614, allocations: 31.98 kB / 471.3 MB, free: 6.043 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.909e-05/0.09624, allocations: 68.2 kB / 471.3 MB, free: 5.961 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.0964, allocations: 91.3 kB / 471.4 MB, free: 5.859 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.09641, allocations: 4.031 kB / 471.4 MB, free: 5.855 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002316/0.09665, allocations: 137.4 kB / 471.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.09667, allocations: 7.938 kB / 471.6 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.09668, allocations: 7.984 kB / 471.6 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.0967, allocations: 0 / 471.6 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.09681, allocations: 23.98 kB / 471.6 MB, free: 5.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.09682, allocations: 4 kB / 471.6 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.939e-05/0.09692, allocations: 12 kB / 471.6 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.09694, allocations: 8 kB / 471.6 MB, free: 5.652 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.0001166/0.09706, allocations: 146.3 kB / 471.8 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.09709, allocations: 15.81 kB / 471.8 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.149e-05/0.09715, allocations: 25.39 kB / 471.8 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.09715, allocations: 0 / 471.8 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.09716, allocations: 0 / 471.8 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.09717, allocations: 3.984 kB / 471.8 MB, free: 5.453 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.09737, allocations: 253.3 kB / 472.1 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.09738, allocations: 0 / 472.1 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.427e-05/0.09747, allocations: 16 kB / 472.1 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.09748, allocations: 384 / 472.1 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.0975, allocations: 7.984 kB / 472.1 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.09751, allocations: 0 / 472.1 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.09752, allocations: 8 kB / 472.1 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.09784, allocations: 184.7 kB / 472.3 MB, free: 4.926 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.0979, allocations: 92.94 kB / 472.4 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.09793, allocations: 4 kB / 472.4 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.896e-05/0.09802, allocations: 12 kB / 472.4 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.09806, allocations: 7.984 kB / 472.4 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.09808, allocations: 4 kB / 472.4 MB, free: 4.789 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001698/0.09825, allocations: 197.6 kB / 472.6 MB, free: 4.598 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09826, allocations: 3.938 kB / 472.6 MB, free: 4.594 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002445/0.09851, allocations: 43.83 kB / 472.6 MB, free: 4.551 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.0008687/0.09938, allocations: 401.2 kB / 473 MB, free: 4.312 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.09961, allocations: 75.91 kB / 473.1 MB, free: 4.238 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.09962, allocations: 0 / 473.1 MB, free: 4.238 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.563e-05/0.09971, allocations: 39.92 kB / 473.1 MB, free: 4.199 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.1, allocations: 47 kB / 473.2 MB, free: 4.156 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006747/0.1007, allocations: 424.6 kB / 473.6 MB, free: 3.719 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.1009, allocations: 0.7319 MB / 474.3 MB, free: 2.961 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.277e-05/0.101, allocations: 17.55 kB / 474.3 MB, free: 2.945 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.1011, allocations: 19.38 kB / 474.4 MB, free: 2.926 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1011, allocations: 0 / 474.4 MB, free: 2.926 MB / 302.1 MB Notification: Performance of Templates: time 0.004663/0.1057, allocations: 2.104 MB / 476.5 MB, free: 0.8477 MB / 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 -s gbode -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1)