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.001483/0.001483, allocations: 104.4 kB / 16.35 MB, free: 6.289 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.384/1.384, allocations: 222.9 MB / 240 MB, free: 4.574 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: 196.3 kB / 290.3 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03471/0.03471, allocations: 8.793 MB / 349.3 MB, free: 4.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 78.45 kB / 412.5 MB, free: 41.76 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0965/0.098, allocations: 51.57 MB / 464.1 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.003831/0.1019, allocations: 2.149 MB / 466.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002396/0.1043, allocations: 1.561 MB / 467.8 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.1045, allocations: 0 / 467.8 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.1049, allocations: 107.5 kB / 467.9 MB, free: 9.754 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003564/0.1053, allocations: 115.4 kB / 468 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.1057, allocations: 135.6 kB / 468.1 MB, free: 9.508 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003078/0.106, allocations: 215.2 kB / 468.4 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.1061, allocations: 53.64 kB / 468.4 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.1063, allocations: 91.62 kB / 468.5 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.1066, allocations: 123.5 kB / 468.6 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.1066, allocations: 16 kB / 468.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.1068, allocations: 63.98 kB / 468.7 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.762e-05/0.1069, allocations: 47.83 kB / 468.7 MB, free: 8.906 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.62e-05/0.107, allocations: 87.53 kB / 468.8 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.1073, allocations: 243.2 kB / 469.1 MB, free: 8.582 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1074, allocations: 0 / 469.1 MB, free: 8.582 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1074, allocations: 3.938 kB / 469.1 MB, free: 8.578 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1074, allocations: 0 / 469.1 MB, free: 8.578 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.0007855/0.1082, allocations: 0.5143 MB / 469.6 MB, free: 8.012 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1082, allocations: 8.031 kB / 469.6 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.742e-05/0.1083, allocations: 24.66 kB / 469.6 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003631/0.1087, allocations: 257 kB / 469.9 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.1087, allocations: 8.609 kB / 469.9 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.1087, allocations: 12.12 kB / 469.9 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000297/0.109, allocations: 145.5 kB / 470 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1091, allocations: 0 / 470 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.1091, allocations: 4 kB / 470 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1091, allocations: 4 kB / 470 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.1093, allocations: 68.67 kB / 470.1 MB, free: 7.441 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008068/0.1101, allocations: 0.5533 MB / 470.7 MB, free: 6.828 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.1104, allocations: 106.7 kB / 470.8 MB, free: 6.715 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.703e-05/0.1105, allocations: 32.84 kB / 470.8 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.1106, allocations: 3.938 kB / 470.8 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.1108, allocations: 105 kB / 470.9 MB, free: 6.555 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.1108, allocations: 0 / 470.9 MB, free: 6.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003527/0.1111, allocations: 149.6 kB / 471.1 MB, free: 6.402 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.1112, allocations: 102.8 kB / 471.2 MB, free: 6.277 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.1115, allocations: 269.1 kB / 471.4 MB, free: 6.004 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1115, allocations: 37.64 kB / 471.5 MB, free: 5.961 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.384e-05/0.1116, allocations: 147.7 kB / 471.6 MB, free: 5.812 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.1116, allocations: 35.59 kB / 471.6 MB, free: 5.777 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.1117, allocations: 25.72 kB / 471.7 MB, free: 5.746 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1118, allocations: 338.8 kB / 472 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.655e-05/0.1119, allocations: 31.86 kB / 472 MB, free: 5.375 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.112, allocations: 71.53 kB / 472.1 MB, free: 5.289 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.1122, allocations: 95.39 kB / 472.2 MB, free: 5.184 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1122, allocations: 0 / 472.2 MB, free: 5.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002552/0.1125, allocations: 141.2 kB / 472.3 MB, free: 5.039 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1125, allocations: 4 kB / 472.3 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.1125, allocations: 8 kB / 472.3 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1125, allocations: 4.094 kB / 472.3 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1126, allocations: 27.92 kB / 472.4 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1126, allocations: 4 kB / 472.4 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.71e-05/0.1127, allocations: 11.98 kB / 472.4 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.1128, allocations: 4 kB / 472.4 MB, free: 4.977 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.0001209/0.1129, allocations: 145.7 kB / 472.5 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.1129, allocations: 23.7 kB / 472.5 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.949e-05/0.113, allocations: 21.72 kB / 472.6 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.113, allocations: 11.98 kB / 472.6 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.113, allocations: 0 / 472.6 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.113, allocations: 0 / 472.6 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.1132, allocations: 241.5 kB / 472.8 MB, free: 4.484 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1132, allocations: 3.938 kB / 472.8 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.232e-05/0.1133, allocations: 12 kB / 472.8 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1133, allocations: 0 / 472.8 MB, free: 4.469 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.1133, allocations: 4 kB / 472.8 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1134, allocations: 3.984 kB / 472.8 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1134, allocations: 0 / 472.8 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/0.1137, allocations: 188.7 kB / 473 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-05/0.1138, allocations: 88.95 kB / 473.1 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.1138, allocations: 11.98 kB / 473.1 MB, free: 4.141 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.341e-05/0.1139, allocations: 4 kB / 473.1 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.86e-05/0.114, allocations: 8.078 kB / 473.1 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.114, allocations: 11.94 kB / 473.1 MB, free: 4.117 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001725/0.1142, allocations: 196.5 kB / 473.3 MB, free: 3.926 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1142, allocations: 4.062 kB / 473.3 MB, free: 3.922 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.1144, allocations: 51.92 kB / 473.4 MB, free: 3.871 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.0009881/0.1154, allocations: 445.8 kB / 473.8 MB, free: 3.605 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002277/0.1157, allocations: 83.84 kB / 473.9 MB, free: 3.523 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1157, allocations: 0 / 473.9 MB, free: 3.523 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.474e-05/0.1158, allocations: 35.98 kB / 473.9 MB, free: 3.488 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.1161, allocations: 41.45 kB / 474 MB, free: 3.449 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007761/0.1169, allocations: 424.5 kB / 474.4 MB, free: 3.008 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.1172, allocations: 0.7397 MB / 475.1 MB, free: 2.242 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.653e-05/0.1173, allocations: 21.53 kB / 475.2 MB, free: 2.223 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.1173, allocations: 15.44 kB / 475.2 MB, free: 2.207 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1173, allocations: 0 / 475.2 MB, free: 2.207 MB / 302.1 MB Notification: Performance of Templates: time 0.005933/0.1233, allocations: 2.402 MB / 477.6 MB, free: 15.83 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 gbode -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe 2>&1)