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.001103/0.001103, allocations: 102.5 kB / 16.35 MB, free: 5.879 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.424/1.424, allocations: 222.9 MB / 240 MB, free: 4.527 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.001527/0.001527, allocations: 192.4 kB / 290.3 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03522/0.03522, allocations: 8.787 MB / 349.3 MB, free: 4.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001729, allocations: 75.72 kB / 412.5 MB, free: 41.67 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1139, allocations: 51.56 MB / 464.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.004031/0.118, allocations: 2.165 MB / 466.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.1205, allocations: 1.557 MB / 467.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.1208, allocations: 4 kB / 467.8 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004949/0.1213, allocations: 103.5 kB / 467.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003692/0.1217, allocations: 111.4 kB / 468 MB, free: 9.578 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.1221, allocations: 130.2 kB / 468.1 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.1224, allocations: 223.2 kB / 468.4 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001769/0.1226, allocations: 53.64 kB / 468.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.1227, allocations: 95.56 kB / 468.5 MB, free: 9.086 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000368/0.1231, allocations: 111.6 kB / 468.6 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.1231, allocations: 15.94 kB / 468.6 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.1233, allocations: 71.97 kB / 468.7 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.917e-05/0.1234, allocations: 39.91 kB / 468.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.1235, allocations: 95.41 kB / 468.8 MB, free: 8.758 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.1238, allocations: 239.2 kB / 469.1 MB, free: 8.523 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.1238, allocations: 4 kB / 469.1 MB, free: 8.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1239, allocations: 0 / 469.1 MB, free: 8.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.1239, allocations: 0 / 469.1 MB, free: 8.52 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.0007337/0.1246, allocations: 0.5181 MB / 469.6 MB, free: 7.949 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1247, allocations: 8.031 kB / 469.6 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.1247, allocations: 28.66 kB / 469.6 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.1251, allocations: 241 kB / 469.9 MB, free: 7.637 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.1251, allocations: 12.59 kB / 469.9 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.1252, allocations: 16.12 kB / 469.9 MB, free: 7.609 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.1255, allocations: 141.4 kB / 470 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.1255, allocations: 0 / 470 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.1255, allocations: 11.94 kB / 470 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1255, allocations: 4 kB / 470 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.1257, allocations: 72.67 kB / 470.1 MB, free: 7.375 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007862/0.1265, allocations: 0.5494 MB / 470.7 MB, free: 6.766 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.1268, allocations: 106.7 kB / 470.8 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.211e-05/0.1269, allocations: 40.84 kB / 470.8 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.127, allocations: 0 / 470.8 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.1272, allocations: 108.9 kB / 470.9 MB, free: 6.484 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 2.836e-06/0.1272, allocations: 0 / 470.9 MB, free: 6.484 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003482/0.1275, allocations: 157.2 kB / 471.1 MB, free: 6.324 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.1276, allocations: 102.8 kB / 471.2 MB, free: 6.199 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.1279, allocations: 273 kB / 471.4 MB, free: 5.922 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.1279, allocations: 25.7 kB / 471.5 MB, free: 5.891 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.623e-05/0.128, allocations: 147.7 kB / 471.6 MB, free: 5.742 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.673e-05/0.128, allocations: 27.61 kB / 471.6 MB, free: 5.715 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.653e-05/0.1281, allocations: 33.72 kB / 471.7 MB, free: 5.676 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1282, allocations: 334.8 kB / 472 MB, free: 5.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.874e-05/0.1283, allocations: 31.94 kB / 472 MB, free: 5.309 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.1284, allocations: 75.52 kB / 472.1 MB, free: 5.219 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.1286, allocations: 91.3 kB / 472.2 MB, free: 5.117 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1286, allocations: 4.031 kB / 472.2 MB, free: 5.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000224/0.1288, allocations: 141.2 kB / 472.3 MB, free: 4.969 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1288, allocations: 8 kB / 472.3 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1288, allocations: 0 / 472.3 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1289, allocations: 4 kB / 472.3 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.129, allocations: 27.98 kB / 472.4 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.129, allocations: 0 / 472.4 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.892e-05/0.1291, allocations: 8.094 kB / 472.4 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1291, allocations: 8 kB / 472.4 MB, free: 4.914 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.000131/0.1292, allocations: 153.6 kB / 472.5 MB, free: 4.754 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.1293, allocations: 19.72 kB / 472.5 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.094e-05/0.1293, allocations: 25.7 kB / 472.6 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1293, allocations: 0 / 472.6 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1294, allocations: 0 / 472.6 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1294, allocations: 0 / 472.6 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.1296, allocations: 245.5 kB / 472.8 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1296, allocations: 384 / 472.8 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.204e-05/0.1297, allocations: 16 kB / 472.8 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1297, allocations: 0 / 472.8 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.1297, allocations: 0 / 472.8 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1297, allocations: 3.938 kB / 472.8 MB, free: 4.402 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1297, allocations: 4 kB / 472.8 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.1301, allocations: 192.7 kB / 473 MB, free: 4.191 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.1301, allocations: 88.95 kB / 473.1 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.1302, allocations: 0 / 473.1 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.275e-05/0.1302, allocations: 16.05 kB / 473.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.1303, allocations: 4 kB / 473.1 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.1303, allocations: 7.984 kB / 473.1 MB, free: 4.059 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001783/0.1305, allocations: 204.4 kB / 473.3 MB, free: 3.859 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1305, allocations: 0 / 473.3 MB, free: 3.859 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002628/0.1308, allocations: 51.92 kB / 473.4 MB, free: 3.809 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.001024/0.1318, allocations: 447.6 kB / 473.8 MB, free: 3.539 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.132, allocations: 79.91 kB / 473.9 MB, free: 3.461 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1321, allocations: 0 / 473.9 MB, free: 3.461 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.634e-05/0.1321, allocations: 39.92 kB / 473.9 MB, free: 3.422 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003222/0.1325, allocations: 53.67 kB / 474 MB, free: 3.375 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000858/0.1333, allocations: 428.3 kB / 474.4 MB, free: 2.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.1336, allocations: 0.7243 MB / 475.1 MB, free: 2.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.089e-05/0.1337, allocations: 25.53 kB / 475.2 MB, free: 2.156 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.1338, allocations: 23.44 kB / 475.2 MB, free: 2.133 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1338, allocations: 0 / 475.2 MB, free: 2.133 MB / 302.1 MB Notification: Performance of Templates: time 0.005464/0.1392, allocations: 2.386 MB / 477.6 MB, free: 15.77 MB / 318.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 -s cvode -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe 2>&1)