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.0008072/0.0008073, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.378/1.378, allocations: 223.3 MB / 239.4 MB, free: 5.391 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.001441/0.001441, allocations: 184.5 kB / 290.6 MB, free: 2.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03198/0.03198, allocations: 8.793 MB / 350.5 MB, free: 4.59 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003809, allocations: 11.06 kB / 413.8 MB, free: 42.76 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09852/0.09892, allocations: 52.56 MB / 466.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.002464/0.1014, allocations: 1.856 MB / 468.2 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.1035, allocations: 1.506 MB / 469.7 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.1037, allocations: 3.938 kB / 469.7 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.104, allocations: 91.73 kB / 469.8 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.1043, allocations: 103.6 kB / 469.9 MB, free: 9.531 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.1046, allocations: 111.8 kB / 470 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.1049, allocations: 211.1 kB / 470.2 MB, free: 9.215 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.105, allocations: 45.92 kB / 470.3 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.1052, allocations: 79.64 kB / 470.4 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003477/0.1055, allocations: 103.6 kB / 470.5 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.1056, allocations: 11.94 kB / 470.5 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.1057, allocations: 67.91 kB / 470.6 MB, free: 8.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.853e-05/0.1058, allocations: 35.91 kB / 470.6 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.392e-05/0.1059, allocations: 109.2 kB / 470.7 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.1062, allocations: 235.2 kB / 470.9 MB, free: 8.531 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.435e-06/0.1062, allocations: 0 / 470.9 MB, free: 8.531 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1062, allocations: 0 / 470.9 MB, free: 8.531 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.1062, allocations: 0 / 470.9 MB, free: 8.531 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.0006877/0.1069, allocations: 494.8 kB / 471.4 MB, free: 7.996 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.107, allocations: 12.03 kB / 471.4 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.839e-05/0.1071, allocations: 20.66 kB / 471.4 MB, free: 7.965 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.1073, allocations: 245.1 kB / 471.7 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.1074, allocations: 12.55 kB / 471.7 MB, free: 7.672 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.1074, allocations: 16.12 kB / 471.7 MB, free: 7.656 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.1077, allocations: 149.4 kB / 471.9 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1077, allocations: 0 / 471.9 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.1077, allocations: 0 / 471.9 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.1078, allocations: 4 kB / 471.9 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.1079, allocations: 72.67 kB / 471.9 MB, free: 7.426 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008285/0.1088, allocations: 0.5571 MB / 472.5 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003558/0.1091, allocations: 106.7 kB / 472.6 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.033e-05/0.1092, allocations: 36.83 kB / 472.6 MB, free: 6.656 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.1093, allocations: 4 kB / 472.6 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.1095, allocations: 113 kB / 472.7 MB, free: 6.523 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.1095, allocations: 0 / 472.7 MB, free: 6.523 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003282/0.1098, allocations: 141.4 kB / 472.9 MB, free: 6.379 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.1099, allocations: 102.8 kB / 473 MB, free: 6.254 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.1102, allocations: 277 kB / 473.2 MB, free: 5.973 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1102, allocations: 37.62 kB / 473.3 MB, free: 5.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.1104, allocations: 147.6 kB / 473.4 MB, free: 5.781 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.1104, allocations: 35.53 kB / 473.5 MB, free: 5.746 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.1105, allocations: 21.7 kB / 473.5 MB, free: 5.719 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1106, allocations: 330.8 kB / 473.8 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.606e-05/0.1107, allocations: 27.98 kB / 473.8 MB, free: 5.359 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.716e-05/0.1108, allocations: 73.08 kB / 473.9 MB, free: 5.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.1109, allocations: 95.3 kB / 474 MB, free: 5.164 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1109, allocations: 0 / 474 MB, free: 5.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002249/0.1112, allocations: 141.5 kB / 474.1 MB, free: 5.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.1112, allocations: 10.19 kB / 474.1 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1112, allocations: 3.938 kB / 474.1 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1112, allocations: 0 / 474.1 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.874e-05/0.1113, allocations: 23.94 kB / 474.2 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.1113, allocations: 7.984 kB / 474.2 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.037e-05/0.1114, allocations: 15.84 kB / 474.2 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.1114, allocations: 8 kB / 474.2 MB, free: 4.953 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.0001196/0.1116, allocations: 141.8 kB / 474.3 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.1116, allocations: 15.81 kB / 474.4 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/0.1117, allocations: 25.7 kB / 474.4 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1117, allocations: 0 / 474.4 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1117, allocations: 0 / 474.4 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1117, allocations: 0 / 474.4 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.1119, allocations: 241.5 kB / 474.6 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1119, allocations: 0 / 474.6 MB, free: 4.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.967e-05/0.112, allocations: 20.3 kB / 474.6 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.112, allocations: 0 / 474.6 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.112, allocations: 4 kB / 474.6 MB, free: 4.457 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.112, allocations: 4 kB / 474.6 MB, free: 4.453 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.112, allocations: 7.938 kB / 474.7 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003127/0.1124, allocations: 184.7 kB / 474.8 MB, free: 4.246 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.1125, allocations: 92.94 kB / 474.9 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.1125, allocations: 8 kB / 474.9 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.838e-05/0.1126, allocations: 7.984 kB / 474.9 MB, free: 4.121 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.1126, allocations: 8.062 kB / 474.9 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.1127, allocations: 11.98 kB / 475 MB, free: 4.102 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001769/0.1129, allocations: 196.5 kB / 475.2 MB, free: 3.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1129, allocations: 0 / 475.2 MB, free: 3.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1131, allocations: 55.83 kB / 475.2 MB, free: 3.855 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.001008/0.1141, allocations: 452 kB / 475.6 MB, free: 3.582 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.1144, allocations: 75.84 kB / 475.7 MB, free: 3.508 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1144, allocations: 4 kB / 475.7 MB, free: 3.504 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.247e-05/0.1145, allocations: 35.98 kB / 475.8 MB, free: 3.469 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.1148, allocations: 39.77 kB / 475.8 MB, free: 3.434 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007958/0.1156, allocations: 0.518 MB / 476.3 MB, free: 2.887 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.1159, allocations: 0.7402 MB / 477.1 MB, free: 2.121 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.812e-05/0.116, allocations: 17.55 kB / 477.1 MB, free: 2.105 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.116, allocations: 19.42 kB / 477.1 MB, free: 2.086 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.116, allocations: 4 kB / 477.1 MB, free: 2.082 MB / 302.1 MB Notification: Performance of Templates: time 0.00592/0.122, allocations: 2.29 MB / 479.4 MB, free: 15.82 MB / 318.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: