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.0009997/0.0009996, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.45/1.45, allocations: 223.3 MB / 239 MB, free: 5.453 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.001016/0.001015, allocations: 184.5 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03235/0.03235, allocations: 8.814 MB / 350.2 MB, free: 4.688 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003821, allocations: 10.84 kB / 413.2 MB, free: 43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09619/0.09659, allocations: 52.56 MB / 465.8 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.00235/0.09897, allocations: 1.794 MB / 467.6 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.1005, allocations: 0.8853 MB / 468.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.453e-05/0.1007, allocations: 4 kB / 468.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.101, allocations: 95.73 kB / 468.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.1012, allocations: 91.56 kB / 468.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.1015, allocations: 102.3 kB / 468.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.1017, allocations: 199.2 kB / 468.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1018, allocations: 33.67 kB / 469 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.102, allocations: 75.69 kB / 469 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.1021, allocations: 95.58 kB / 469.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.1021, allocations: 11.94 kB / 469.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.536e-05/0.1022, allocations: 40 kB / 469.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.835e-05/0.1023, allocations: 35.84 kB / 469.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.1023, allocations: 53.64 kB / 469.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.1026, allocations: 171.8 kB / 469.4 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1026, allocations: 4 kB / 469.4 MB, free: 9.824 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1026, allocations: 4 kB / 469.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1026, allocations: 0 / 469.4 MB, free: 9.82 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.0007426/0.1034, allocations: 474.7 kB / 469.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.1034, allocations: 12.03 kB / 469.9 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/0.1035, allocations: 27.66 kB / 469.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.1037, allocations: 235.8 kB / 470.2 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.843e-05/0.1038, allocations: 16.17 kB / 470.2 MB, free: 8.977 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.1038, allocations: 19.98 kB / 470.2 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.1041, allocations: 115.5 kB / 470.3 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1041, allocations: 0 / 470.3 MB, free: 8.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.1041, allocations: 3.984 kB / 470.3 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.1041, allocations: 4 kB / 470.3 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.1043, allocations: 80.61 kB / 470.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007078/0.105, allocations: 0.5497 MB / 471 MB, free: 8.145 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003195/0.1053, allocations: 98.72 kB / 471 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.802e-05/0.1054, allocations: 44.78 kB / 471.1 MB, free: 7.992 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.1054, allocations: 7.938 kB / 471.1 MB, free: 7.984 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.1056, allocations: 93.09 kB / 471.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.1057, allocations: 0 / 471.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003178/0.106, allocations: 141.4 kB / 471.3 MB, free: 7.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.106, allocations: 85.06 kB / 471.4 MB, free: 7.629 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.1064, allocations: 264.2 kB / 471.7 MB, free: 7.359 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1064, allocations: 25.7 kB / 471.7 MB, free: 7.328 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.633e-05/0.1065, allocations: 151.6 kB / 471.8 MB, free: 7.176 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.1065, allocations: 23.62 kB / 471.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.1065, allocations: 4 kB / 471.9 MB, free: 7.148 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.1067, allocations: 334.8 kB / 472.2 MB, free: 6.812 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.876e-05/0.1068, allocations: 31.86 kB / 472.2 MB, free: 6.781 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.404e-05/0.1069, allocations: 66.81 kB / 472.3 MB, free: 6.703 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.074e-05/0.107, allocations: 35.98 kB / 472.3 MB, free: 6.668 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.107, allocations: 0 / 472.3 MB, free: 6.668 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00026/0.1072, allocations: 137.4 kB / 472.5 MB, free: 6.527 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1073, allocations: 8.125 kB / 472.5 MB, free: 6.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.1073, allocations: 4 kB / 472.5 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1073, allocations: 0 / 472.5 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.1074, allocations: 27.92 kB / 472.5 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1074, allocations: 4 kB / 472.5 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.476e-05/0.1075, allocations: 11.86 kB / 472.5 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.1075, allocations: 8 kB / 472.5 MB, free: 6.465 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 ($whenCondition1,$PRE.table.nextTimeEvent,table.nextTimeEvent,$PRE.table.nextTimeEventScaled,table.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.1076, allocations: 142.4 kB / 472.7 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.1077, allocations: 19.81 kB / 472.7 MB, free: 6.297 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.057e-05/0.1077, allocations: 25.39 kB / 472.7 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1077, allocations: 4.375 kB / 472.7 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1077, allocations: 0 / 472.7 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1078, allocations: 0 / 472.7 MB, free: 6.266 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002066/0.108, allocations: 249.4 kB / 473 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.108, allocations: 3.938 kB / 473 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.1081, allocations: 12 kB / 473 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1081, allocations: 0 / 473 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.1081, allocations: 7.984 kB / 473 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1081, allocations: 4 kB / 473 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1081, allocations: 0 / 473 MB, free: 5.945 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.1084, allocations: 192.8 kB / 473.2 MB, free: 5.738 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.1085, allocations: 92.94 kB / 473.3 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.1085, allocations: 0 / 473.3 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.78e-05/0.1086, allocations: 12 kB / 473.3 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.1087, allocations: 7.984 kB / 473.3 MB, free: 5.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.1087, allocations: 4.062 kB / 473.3 MB, free: 5.605 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.1088, allocations: 201.6 kB / 473.5 MB, free: 5.41 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1089, allocations: 0 / 473.5 MB, free: 5.41 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.1091, allocations: 43.84 kB / 473.5 MB, free: 5.367 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000829/0.1099, allocations: 405.4 kB / 473.9 MB, free: 5.121 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.1101, allocations: 75.91 kB / 474 MB, free: 5.047 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1102, allocations: 4.188 kB / 474 MB, free: 5.043 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.1103, allocations: 39.92 kB / 474 MB, free: 5.004 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.1106, allocations: 40.58 kB / 474.1 MB, free: 4.965 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007877/0.1114, allocations: 498.2 kB / 474.6 MB, free: 4.449 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.1117, allocations: 0.7322 MB / 475.3 MB, free: 3.691 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.312e-05/0.1118, allocations: 25.53 kB / 475.3 MB, free: 3.668 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.1118, allocations: 19.42 kB / 475.3 MB, free: 3.648 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1118, allocations: 0 / 475.3 MB, free: 3.648 MB / 302.1 MB Notification: Performance of Templates: time 0.004556/0.1164, allocations: 1.948 MB / 477.3 MB, free: 1.723 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: