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.001251/0.001251, allocations: 105.2 kB / 15.99 MB, free: 6.355 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.353/1.353, allocations: 222.9 MB / 239.6 MB, free: 4.68 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.001327/0.001327, allocations: 184.5 kB / 289.9 MB, free: 2.438 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03499/0.03499, allocations: 8.804 MB / 348.9 MB, free: 4.824 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001499, allocations: 77.02 kB / 411.2 MB, free: 42.32 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09265/0.09417, allocations: 51.56 MB / 462.8 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.003876/0.09809, allocations: 2.214 MB / 465 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.1004, allocations: 1.534 MB / 466.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.1006, allocations: 0 / 466.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004323/0.1011, allocations: 95.69 kB / 466.6 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.1014, allocations: 103.5 kB / 466.7 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.1018, allocations: 110.4 kB / 466.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000296/0.1021, allocations: 219.2 kB / 467.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.1023, allocations: 55.61 kB / 467.1 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.1025, allocations: 91.58 kB / 467.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.1027, allocations: 115.6 kB / 467.3 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.1028, allocations: 16 kB / 467.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.103, allocations: 71.97 kB / 467.4 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.981e-05/0.103, allocations: 51.77 kB / 467.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.1032, allocations: 87.48 kB / 467.5 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.1035, allocations: 191.8 kB / 467.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1035, allocations: 0 / 467.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1035, allocations: 0 / 467.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.1035, allocations: 4 kB / 467.7 MB, free: 9.77 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.0008081/0.1043, allocations: 0.5065 MB / 468.2 MB, free: 9.211 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1044, allocations: 12.03 kB / 468.3 MB, free: 9.199 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.533e-05/0.1044, allocations: 24.66 kB / 468.3 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.1047, allocations: 248.9 kB / 468.5 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1048, allocations: 8.609 kB / 468.5 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.1048, allocations: 16.12 kB / 468.5 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.1051, allocations: 145.4 kB / 468.7 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1051, allocations: 0 / 468.7 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.1052, allocations: 4 kB / 468.7 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.1052, allocations: 4 kB / 468.7 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.1053, allocations: 76.66 kB / 468.8 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008182/0.1062, allocations: 0.5455 MB / 469.3 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.1065, allocations: 114.6 kB / 469.4 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.545e-05/0.1066, allocations: 36.84 kB / 469.5 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.1067, allocations: 0 / 469.5 MB, free: 7.871 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002821/0.107, allocations: 101 kB / 469.6 MB, free: 7.754 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.372e-06/0.107, allocations: 0 / 469.6 MB, free: 7.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003769/0.1074, allocations: 149.3 kB / 469.7 MB, free: 7.602 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.895e-05/0.1074, allocations: 106.8 kB / 469.8 MB, free: 7.473 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.1078, allocations: 269 kB / 470.1 MB, free: 7.199 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.1078, allocations: 25.7 kB / 470.1 MB, free: 7.168 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.1079, allocations: 151.7 kB / 470.2 MB, free: 7.016 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.1079, allocations: 31.59 kB / 470.3 MB, free: 6.984 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.877e-05/0.108, allocations: 33.72 kB / 470.3 MB, free: 6.945 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1082, allocations: 334.8 kB / 470.6 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.757e-05/0.1082, allocations: 31.92 kB / 470.7 MB, free: 6.578 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.487e-05/0.1083, allocations: 65.14 kB / 470.7 MB, free: 6.496 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.1085, allocations: 91.39 kB / 470.8 MB, free: 6.395 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1085, allocations: 384 / 470.8 MB, free: 6.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002735/0.1088, allocations: 145.2 kB / 471 MB, free: 6.246 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.1088, allocations: 8 kB / 471 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.1089, allocations: 0 / 471 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.1089, allocations: 7.922 kB / 471 MB, free: 6.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.109, allocations: 28.09 kB / 471 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.109, allocations: 0 / 471 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.1091, allocations: 11.98 kB / 471 MB, free: 6.191 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.1092, allocations: 8 kB / 471 MB, free: 6.184 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.0001429/0.1093, allocations: 149.6 kB / 471.2 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.1093, allocations: 19.72 kB / 471.2 MB, free: 6.008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.623e-05/0.1094, allocations: 21.72 kB / 471.2 MB, free: 5.988 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1094, allocations: 3.984 kB / 471.2 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.1094, allocations: 4 kB / 471.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1094, allocations: 0 / 471.2 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.1097, allocations: 241.5 kB / 471.5 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1097, allocations: 0 / 471.5 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.81e-05/0.1098, allocations: 15.98 kB / 471.5 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1098, allocations: 0 / 471.5 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.1098, allocations: 8 kB / 471.5 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1098, allocations: 0 / 471.5 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1098, allocations: 0 / 471.5 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.1102, allocations: 192.8 kB / 471.7 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.1103, allocations: 92.94 kB / 471.8 MB, free: 5.355 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.1103, allocations: 4 kB / 471.8 MB, free: 5.352 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/0.1104, allocations: 7.938 kB / 471.8 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.1104, allocations: 7.984 kB / 471.8 MB, free: 5.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.1105, allocations: 4 kB / 471.8 MB, free: 5.332 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.1107, allocations: 208.5 kB / 472 MB, free: 5.129 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1107, allocations: 3.938 kB / 472 MB, free: 5.125 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000279/0.111, allocations: 48 kB / 472 MB, free: 5.078 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.001066/0.112, allocations: 453 kB / 472.5 MB, free: 4.805 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.1123, allocations: 87.95 kB / 472.6 MB, free: 4.719 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1123, allocations: 8.062 kB / 472.6 MB, free: 4.711 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.659e-05/0.1124, allocations: 35.98 kB / 472.6 MB, free: 4.676 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.1127, allocations: 32.36 kB / 472.6 MB, free: 4.645 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008589/0.1136, allocations: 0.5139 MB / 473.2 MB, free: 4.098 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.1139, allocations: 0.7319 MB / 473.9 MB, free: 3.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.114, allocations: 19.44 kB / 473.9 MB, free: 3.32 MB / 302.1 MB Notification: Performance of SimCode: time 2.71e-07/0.114, allocations: 3.938 kB / 473.9 MB, free: 3.316 MB / 302.1 MB Notification: Performance of Templates: time 0.004844/0.1189, allocations: 2.788 MB / 476.7 MB, free: 0.5469 MB / 302.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 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe 2>&1)