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.001021/0.001021, allocations: 98.38 kB / 15.05 MB, free: 1.105 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.451/1.451, allocations: 223.2 MB / 238.9 MB, free: 5.469 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.001409/0.001409, allocations: 193 kB / 290.2 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03346/0.03346, allocations: 8.787 MB / 350.1 MB, free: 4.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004116/0.0004116, allocations: 11.47 kB / 413.1 MB, free: 43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1092, allocations: 52.56 MB / 465.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.002203/0.1114, allocations: 1.757 MB / 467.4 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.1127, allocations: 0.8699 MB / 468.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.733e-05/0.1128, allocations: 3.938 kB / 468.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.1131, allocations: 95.67 kB / 468.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.1133, allocations: 95.77 kB / 468.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.1136, allocations: 109.6 kB / 468.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.1138, allocations: 143.7 kB / 468.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.114, allocations: 45.62 kB / 468.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.1141, allocations: 83.69 kB / 468.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.1142, allocations: 87.61 kB / 468.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.1142, allocations: 4 kB / 468.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-05/0.1143, allocations: 31.98 kB / 469 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.124e-05/0.1144, allocations: 35.84 kB / 469 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.1144, allocations: 61.58 kB / 469.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.1146, allocations: 171.8 kB / 469.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.1147, allocations: 0 / 469.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1147, allocations: 0 / 469.2 MB, free: 9.926 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1147, allocations: 0 / 469.2 MB, free: 9.926 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.0006304/0.1153, allocations: 482.7 kB / 469.7 MB, free: 9.402 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.1153, allocations: 8.031 kB / 469.7 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.39e-05/0.1154, allocations: 27.67 kB / 469.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.1158, allocations: 243.8 kB / 470 MB, free: 9.086 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.1158, allocations: 8.234 kB / 470 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.1159, allocations: 8 kB / 470 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.1161, allocations: 123.5 kB / 470.1 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1161, allocations: 0 / 470.1 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.1162, allocations: 4 kB / 470.1 MB, free: 8.941 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.1162, allocations: 4 kB / 470.1 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.1163, allocations: 72.56 kB / 470.2 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007568/0.1171, allocations: 0.5458 MB / 470.7 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.1174, allocations: 118.7 kB / 470.8 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.1175, allocations: 0 / 470.8 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.1177, allocations: 97.08 kB / 470.9 MB, free: 8.023 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1177, allocations: 0 / 470.9 MB, free: 8.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.000329/0.118, allocations: 141.6 kB / 471.1 MB, free: 7.879 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.1181, allocations: 89.42 kB / 471.2 MB, free: 7.773 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.1183, allocations: 260.2 kB / 471.4 MB, free: 7.508 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1184, allocations: 29.7 kB / 471.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.448e-05/0.1185, allocations: 147.6 kB / 471.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.1185, allocations: 35.55 kB / 471.6 MB, free: 7.289 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-06/0.1185, allocations: 7.938 kB / 471.6 MB, free: 7.281 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1186, allocations: 326.8 kB / 472 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.817e-05/0.1187, allocations: 31.92 kB / 472 MB, free: 6.922 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.54e-05/0.1188, allocations: 70.09 kB / 472.1 MB, free: 6.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.347e-05/0.1189, allocations: 28 kB / 472.1 MB, free: 6.812 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.1189, allocations: 0 / 472.1 MB, free: 6.812 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002263/0.1191, allocations: 133.5 kB / 472.2 MB, free: 6.676 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.1192, allocations: 7.938 kB / 472.2 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1192, allocations: 7.938 kB / 472.2 MB, free: 6.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1192, allocations: 3.984 kB / 472.2 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.1193, allocations: 27.98 kB / 472.3 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1193, allocations: 4 kB / 472.3 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.066e-05/0.1194, allocations: 19.84 kB / 472.3 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.1194, allocations: 4 kB / 472.3 MB, free: 6.602 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 ($whenCondition1,$PRE.table.nextTimeEvent,table.nextTimeEvent,$PRE.table.nextTimeEventScaled,table.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.1196, allocations: 145.7 kB / 472.4 MB, free: 6.449 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.1196, allocations: 19.81 kB / 472.4 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.54e-05/0.1196, allocations: 17.41 kB / 472.5 MB, free: 6.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.1197, allocations: 4 kB / 472.5 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1197, allocations: 0 / 472.5 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1197, allocations: 3.984 kB / 472.5 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.1199, allocations: 245.4 kB / 472.7 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1199, allocations: 0 / 472.7 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.056e-05/0.12, allocations: 12 kB / 472.7 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.12, allocations: 0 / 472.7 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.12, allocations: 4 kB / 472.7 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.12, allocations: 4 kB / 472.7 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.12, allocations: 0 / 472.7 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.1203, allocations: 184.8 kB / 472.9 MB, free: 5.895 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.127e-05/0.1204, allocations: 92.95 kB / 473 MB, free: 5.785 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.1205, allocations: 7.984 kB / 473 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.92e-05/0.1205, allocations: 8 kB / 473 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.1206, allocations: 12.05 kB / 473 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.1206, allocations: 4 kB / 473 MB, free: 5.754 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.1208, allocations: 193.7 kB / 473.2 MB, free: 5.566 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.144e-06/0.1208, allocations: 3.938 kB / 473.2 MB, free: 5.562 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.121, allocations: 51.77 kB / 473.3 MB, free: 5.512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008391/0.1219, allocations: 401.9 kB / 473.7 MB, free: 5.273 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.1221, allocations: 80.03 kB / 473.7 MB, free: 5.195 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1221, allocations: 0 / 473.7 MB, free: 5.195 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.285e-05/0.1222, allocations: 43.86 kB / 473.8 MB, free: 5.152 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.1224, allocations: 32.38 kB / 473.8 MB, free: 5.121 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000737/0.1232, allocations: 0.4906 MB / 474.3 MB, free: 4.602 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.1235, allocations: 0.7361 MB / 475 MB, free: 3.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.153e-05/0.1236, allocations: 21.53 kB / 475.1 MB, free: 3.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.1236, allocations: 23.44 kB / 475.1 MB, free: 3.797 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1236, allocations: 3.938 kB / 475.1 MB, free: 3.793 MB / 302.1 MB Notification: Performance of Templates: time 0.004502/0.1281, allocations: 1.941 MB / 477 MB, free: 1.875 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Tables.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: