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.001278/0.001278, allocations: 99.55 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.483/1.483, allocations: 223.2 MB / 238.9 MB, free: 5.648 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.001456/0.001457, allocations: 184 kB / 290.2 MB, free: 2.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03315/0.03315, allocations: 8.802 MB / 350.1 MB, free: 4.777 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006408/0.0006409, allocations: 15.81 kB / 413.1 MB, free: 43.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1096, allocations: 52.55 MB / 465.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.002775/0.1124, allocations: 1.765 MB / 467.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002519/0.115, allocations: 1.448 MB / 468.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.1152, allocations: 8 kB / 468.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.1157, allocations: 91.72 kB / 469 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003869/0.1161, allocations: 107.6 kB / 469.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.1165, allocations: 102.5 kB / 469.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003177/0.1168, allocations: 147.7 kB / 469.3 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.117, allocations: 41.64 kB / 469.3 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.1172, allocations: 83.69 kB / 469.4 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/0.1174, allocations: 83.67 kB / 469.5 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.1175, allocations: 8 kB / 469.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.1177, allocations: 55.89 kB / 469.6 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.482e-05/0.1177, allocations: 31.84 kB / 469.6 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.257e-05/0.1178, allocations: 57.64 kB / 469.7 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003415/0.1182, allocations: 179.8 kB / 469.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1182, allocations: 0 / 469.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1182, allocations: 0 / 469.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.1182, allocations: 4 kB / 469.8 MB, free: 9.418 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.0009931/0.1192, allocations: 490.6 kB / 470.3 MB, free: 8.887 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.1193, allocations: 12.03 kB / 470.3 MB, free: 8.875 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.01e-05/0.1194, allocations: 27.67 kB / 470.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004275/0.1198, allocations: 239.8 kB / 470.6 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.1198, allocations: 8.234 kB / 470.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.1199, allocations: 19.92 kB / 470.6 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.1202, allocations: 141.4 kB / 470.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1202, allocations: 0 / 470.8 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.1203, allocations: 8 kB / 470.8 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.1203, allocations: 4 kB / 470.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.1205, allocations: 68.62 kB / 470.8 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.1216, allocations: 0.5611 MB / 471.4 MB, free: 7.695 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004255/0.122, allocations: 106.7 kB / 471.5 MB, free: 7.582 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.754e-05/0.1221, allocations: 0 / 471.5 MB, free: 7.582 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002876/0.1224, allocations: 97.22 kB / 471.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.1224, allocations: 0 / 471.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004393/0.1228, allocations: 141.4 kB / 471.7 MB, free: 7.324 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/0.1229, allocations: 106.8 kB / 471.8 MB, free: 7.195 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/0.1233, allocations: 284.9 kB / 472.1 MB, free: 6.906 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.1233, allocations: 25.7 kB / 472.1 MB, free: 6.875 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.1235, allocations: 147.7 kB / 472.3 MB, free: 6.727 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.1235, allocations: 35.55 kB / 472.3 MB, free: 6.691 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.1235, allocations: 0 / 472.3 MB, free: 6.691 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1237, allocations: 326.8 kB / 472.6 MB, free: 6.363 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.931e-05/0.1237, allocations: 27.98 kB / 472.7 MB, free: 6.336 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-05/0.1238, allocations: 81 kB / 472.7 MB, free: 6.238 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.063e-05/0.1239, allocations: 36 kB / 472.8 MB, free: 6.203 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1239, allocations: 0 / 472.8 MB, free: 6.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002454/0.1242, allocations: 133.4 kB / 472.9 MB, free: 6.066 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1242, allocations: 8.125 kB / 472.9 MB, free: 6.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1242, allocations: 3.984 kB / 472.9 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.1242, allocations: 4 kB / 472.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.1244, allocations: 28.3 kB / 473 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.1244, allocations: 0 / 473 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.1245, allocations: 27.8 kB / 473 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.1245, allocations: 4 kB / 473 MB, free: 5.992 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.0001385/0.1247, allocations: 145.6 kB / 473.1 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.1247, allocations: 23.75 kB / 473.1 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.705e-05/0.1248, allocations: 25.7 kB / 473.2 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1248, allocations: 0 / 473.2 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1248, allocations: 4 kB / 473.2 MB, free: 5.793 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1248, allocations: 3.938 kB / 473.2 MB, free: 5.789 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.125, allocations: 249.4 kB / 473.4 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.125, allocations: 0 / 473.4 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.671e-05/0.1251, allocations: 12 kB / 473.4 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.1251, allocations: 0 / 473.4 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1251, allocations: 4 kB / 473.4 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1252, allocations: 0 / 473.4 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1252, allocations: 4 kB / 473.4 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00034/0.1255, allocations: 184.8 kB / 473.6 MB, free: 5.277 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.35e-05/0.1256, allocations: 100.8 kB / 473.7 MB, free: 5.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.1257, allocations: 4 kB / 473.7 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.053e-05/0.1257, allocations: 8 kB / 473.7 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.1258, allocations: 7.984 kB / 473.7 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.1258, allocations: 8.062 kB / 473.8 MB, free: 5.133 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001974/0.126, allocations: 200.5 kB / 473.9 MB, free: 4.938 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.126, allocations: 0 / 473.9 MB, free: 4.938 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.1263, allocations: 51.94 kB / 474 MB, free: 4.887 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.001092/0.1274, allocations: 451.7 kB / 474.4 MB, free: 4.613 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.1277, allocations: 79.84 kB / 474.5 MB, free: 4.535 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1277, allocations: 0 / 474.5 MB, free: 4.535 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.436e-05/0.1278, allocations: 35.98 kB / 474.6 MB, free: 4.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.128, allocations: 40.47 kB / 474.6 MB, free: 4.461 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000862/0.1289, allocations: 498.3 kB / 475.1 MB, free: 3.945 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.1293, allocations: 0.7477 MB / 475.8 MB, free: 3.172 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.539e-05/0.1294, allocations: 21.53 kB / 475.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.1294, allocations: 15.44 kB / 475.9 MB, free: 3.137 MB / 302.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1294, allocations: 4 kB / 475.9 MB, free: 3.133 MB / 302.1 MB Notification: Performance of Templates: time 0.00585/0.1353, allocations: 2.232 MB / 478.1 MB, free: 0.9258 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.TablesFromFile.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: