Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Tables.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.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") translateModel(HanserModelica.Electrical.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 97.64 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.406/1.406, allocations: 223.3 MB / 239.4 MB, free: 5.5 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.001232/0.001232, allocations: 187.3 kB / 290.6 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03194/0.03194, allocations: 8.805 MB / 350.5 MB, free: 4.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003441, allocations: 11.98 kB / 413.8 MB, free: 42.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09565/0.09601, allocations: 52.56 MB / 466.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.00258/0.09863, allocations: 1.848 MB / 468.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.1002, allocations: 0.9238 MB / 469.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1003, allocations: 8 kB / 469.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003581/0.1007, allocations: 99.67 kB / 469.2 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.1009, allocations: 87.62 kB / 469.3 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.1012, allocations: 114.4 kB / 469.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.1015, allocations: 207.2 kB / 469.6 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.1017, allocations: 45.94 kB / 469.7 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.1018, allocations: 75.7 kB / 469.8 MB, free: 9.738 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.1019, allocations: 99.53 kB / 469.9 MB, free: 9.641 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.1019, allocations: 8 kB / 469.9 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.1021, allocations: 43.98 kB / 469.9 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.257e-05/0.1021, allocations: 39.83 kB / 469.9 MB, free: 9.551 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.227e-05/0.1022, allocations: 105.2 kB / 470 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.1025, allocations: 219.2 kB / 470.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1025, allocations: 4 kB / 470.3 MB, free: 9.223 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1025, allocations: 0 / 470.3 MB, free: 9.223 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1025, allocations: 4 kB / 470.3 MB, free: 9.219 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.0006826/0.1032, allocations: 482.8 kB / 470.7 MB, free: 8.695 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1033, allocations: 8.031 kB / 470.8 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.468e-05/0.1033, allocations: 24.66 kB / 470.8 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.1036, allocations: 245 kB / 471 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.1036, allocations: 12.61 kB / 471 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.1037, allocations: 16.12 kB / 471 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.1039, allocations: 123.5 kB / 471.2 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.104, allocations: 0 / 471.2 MB, free: 8.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.104, allocations: 7.984 kB / 471.2 MB, free: 8.223 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.533e-05/0.104, allocations: 4 kB / 471.2 MB, free: 8.219 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.1042, allocations: 68.67 kB / 471.2 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008803/0.1051, allocations: 0.5573 MB / 471.8 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/0.1055, allocations: 106.7 kB / 471.9 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.148e-05/0.1056, allocations: 36.84 kB / 471.9 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.1056, allocations: 4 kB / 471.9 MB, free: 7.379 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/0.1058, allocations: 101 kB / 472 MB, free: 7.262 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.703e-06/0.1059, allocations: 0 / 472 MB, free: 7.262 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.000345/0.1062, allocations: 149.3 kB / 472.2 MB, free: 7.109 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.1063, allocations: 85.09 kB / 472.3 MB, free: 7.008 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.1065, allocations: 260.2 kB / 472.5 MB, free: 6.742 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1066, allocations: 25.7 kB / 472.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.906e-05/0.1066, allocations: 147.7 kB / 472.7 MB, free: 6.562 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.1067, allocations: 31.55 kB / 472.7 MB, free: 6.531 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.1067, allocations: 17.72 kB / 472.7 MB, free: 6.508 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1068, allocations: 334.8 kB / 473.1 MB, free: 6.172 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.969e-05/0.1069, allocations: 28 kB / 473.1 MB, free: 6.145 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.797e-05/0.107, allocations: 70.31 kB / 473.2 MB, free: 6.062 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.1072, allocations: 95.3 kB / 473.3 MB, free: 5.957 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1072, allocations: 32 / 473.3 MB, free: 5.957 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002409/0.1074, allocations: 141.3 kB / 473.4 MB, free: 5.812 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1075, allocations: 9.875 kB / 473.4 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.1075, allocations: 0 / 473.4 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1075, allocations: 0 / 473.4 MB, free: 5.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1076, allocations: 27.92 kB / 473.4 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.1076, allocations: 4 kB / 473.4 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.018e-05/0.1077, allocations: 15.94 kB / 473.5 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-06/0.1077, allocations: 8.094 kB / 473.5 MB, free: 5.75 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.000158/0.1079, allocations: 142.4 kB / 473.6 MB, free: 5.602 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.1079, allocations: 19.72 kB / 473.6 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.151e-05/0.108, allocations: 21.38 kB / 473.6 MB, free: 5.559 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.108, allocations: 4 kB / 473.6 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.108, allocations: 0 / 473.6 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.108, allocations: 0 / 473.6 MB, free: 5.555 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.1083, allocations: 241.5 kB / 473.9 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1083, allocations: 0 / 473.9 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.262e-05/0.1084, allocations: 19.92 kB / 473.9 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1084, allocations: 4.375 kB / 473.9 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.1084, allocations: 8 kB / 473.9 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1084, allocations: 0 / 473.9 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1084, allocations: 0 / 473.9 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000354/0.1088, allocations: 188.7 kB / 474.1 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.1089, allocations: 96.84 kB / 474.2 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.1089, allocations: 8 kB / 474.2 MB, free: 4.914 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.109, allocations: 12.05 kB / 474.2 MB, free: 4.902 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.109, allocations: 4 kB / 474.2 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.1091, allocations: 8 kB / 474.2 MB, free: 4.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.1093, allocations: 205.5 kB / 474.4 MB, free: 4.691 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1093, allocations: 0 / 474.4 MB, free: 4.691 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.1095, allocations: 35.94 kB / 474.5 MB, free: 4.656 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.001001/0.1105, allocations: 403.2 kB / 474.9 MB, free: 4.414 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.1108, allocations: 79.84 kB / 474.9 MB, free: 4.336 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1108, allocations: 0 / 474.9 MB, free: 4.336 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.31e-05/0.1109, allocations: 39.98 kB / 475 MB, free: 4.297 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.1112, allocations: 39.72 kB / 475 MB, free: 4.262 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008799/0.1121, allocations: 0.5138 MB / 475.5 MB, free: 3.719 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.1125, allocations: 0.7322 MB / 476.3 MB, free: 2.961 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.725e-05/0.1126, allocations: 17.55 kB / 476.3 MB, free: 2.945 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.1126, allocations: 23.42 kB / 476.3 MB, free: 2.922 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1127, allocations: 0 / 476.3 MB, free: 2.922 MB / 302.1 MB Notification: Performance of Templates: time 0.004832/0.1175, allocations: 1.992 MB / 478.3 MB, free: 0.9492 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Tables.makefile Environment - environmentSimulation: (rm -f HanserModelica_HanserModelica.Electrical.Tables.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Tables.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Tables.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Tables.sim & ./HanserModelica_HanserModelica.Electrical.Tables -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1) Environment - environmentSimulation: