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.001556/0.001556, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.335/1.335, allocations: 222.9 MB / 240.1 MB, free: 4.355 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.001291/0.001291, allocations: 184.5 kB / 290.4 MB, free: 2.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03538/0.03538, allocations: 8.796 MB / 349.3 MB, free: 4.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 79.86 kB / 464.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09816/0.09996, allocations: 51.55 MB / 0.504 GB, free: 9.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003662/0.1037, allocations: 2.168 MB / 0.5062 GB, free: 7.324 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.1053, allocations: 0.9469 MB / 0.5071 GB, free: 6.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.1055, allocations: 4 kB / 0.5071 GB, free: 6.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000362/0.1058, allocations: 103.5 kB / 0.5072 GB, free: 6.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.1062, allocations: 103.5 kB / 0.5073 GB, free: 6.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003799/0.1066, allocations: 127.6 kB / 0.5074 GB, free: 6.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002845/0.1069, allocations: 223.1 kB / 0.5076 GB, free: 5.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.107, allocations: 53.66 kB / 0.5077 GB, free: 5.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.1072, allocations: 87.62 kB / 0.5077 GB, free: 5.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.1074, allocations: 111.6 kB / 0.5079 GB, free: 5.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.1074, allocations: 12 kB / 0.5079 GB, free: 5.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.1075, allocations: 51.98 kB / 0.5079 GB, free: 5.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.932e-05/0.1076, allocations: 47.84 kB / 0.508 GB, free: 5.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.693e-05/0.1077, allocations: 87.47 kB / 0.508 GB, free: 5.379 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.108, allocations: 227.2 kB / 0.5083 GB, free: 5.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.108, allocations: 0 / 0.5083 GB, free: 5.156 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.108, allocations: 0 / 0.5083 GB, free: 5.156 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.108, allocations: 4 kB / 0.5083 GB, free: 5.152 MB / 350.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.0007088/0.1087, allocations: 0.501 MB / 0.5088 GB, free: 4.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.1088, allocations: 8.031 kB / 0.5088 GB, free: 4.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.984e-05/0.1088, allocations: 24.75 kB / 0.5088 GB, free: 4.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.1092, allocations: 245 kB / 0.509 GB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.1092, allocations: 12.55 kB / 0.509 GB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.1092, allocations: 20.03 kB / 0.5091 GB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002582/0.1095, allocations: 123.5 kB / 0.5092 GB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1095, allocations: 0 / 0.5092 GB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1095, allocations: 0 / 0.5092 GB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.1095, allocations: 4 kB / 0.5092 GB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.1097, allocations: 80.66 kB / 0.5093 GB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007846/0.1105, allocations: 0.5418 MB / 0.5098 GB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.1109, allocations: 102.7 kB / 0.5099 GB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.333e-05/0.1109, allocations: 48.77 kB / 0.5099 GB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.111, allocations: 0 / 0.5099 GB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.1112, allocations: 93.09 kB / 0.51 GB, free: 3.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.1112, allocations: 0 / 0.51 GB, free: 3.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003482/0.1115, allocations: 149.3 kB / 0.5102 GB, free: 3.023 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.1116, allocations: 81.11 kB / 0.5102 GB, free: 2.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.1118, allocations: 260.2 kB / 0.5105 GB, free: 2.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.1119, allocations: 29.7 kB / 0.5105 GB, free: 2.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.359e-05/0.112, allocations: 139.8 kB / 0.5106 GB, free: 2.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.112, allocations: 39.47 kB / 0.5107 GB, free: 2.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.112, allocations: 33.7 kB / 0.5107 GB, free: 2.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.1122, allocations: 330.8 kB / 0.511 GB, free: 2.074 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.911e-05/0.1123, allocations: 31.98 kB / 0.5111 GB, free: 2.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.1124, allocations: 68.92 kB / 0.5111 GB, free: 1.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.1125, allocations: 87.36 kB / 0.5112 GB, free: 1.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1126, allocations: 0 / 0.5112 GB, free: 1.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002388/0.1128, allocations: 137.4 kB / 0.5113 GB, free: 1.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1128, allocations: 11.98 kB / 0.5113 GB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1128, allocations: 0 / 0.5113 GB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1128, allocations: 0 / 0.5113 GB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.113, allocations: 23.94 kB / 0.5114 GB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.113, allocations: 4 kB / 0.5114 GB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.088e-05/0.1131, allocations: 15.89 kB / 0.5114 GB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.1131, allocations: 8 kB / 0.5114 GB, free: 1.66 MB / 350.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.000132/0.1132, allocations: 155.6 kB / 0.5115 GB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.1133, allocations: 15.81 kB / 0.5116 GB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.129e-05/0.1133, allocations: 25.39 kB / 0.5116 GB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.1133, allocations: 4 kB / 0.5116 GB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1133, allocations: 0 / 0.5116 GB, free: 1.445 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1133, allocations: 3.938 kB / 0.5116 GB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002075/0.1136, allocations: 237.4 kB / 0.5118 GB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1136, allocations: 0 / 0.5118 GB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.153e-05/0.1136, allocations: 16 kB / 0.5118 GB, free: 1.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1137, allocations: 4 kB / 0.5118 GB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.1137, allocations: 4 kB / 0.5118 GB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1137, allocations: 0 / 0.5118 GB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1137, allocations: 0 / 0.5118 GB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.114, allocations: 189.1 kB / 0.512 GB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/0.1141, allocations: 89.05 kB / 0.5121 GB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.1141, allocations: 7.938 kB / 0.5121 GB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.91e-05/0.1142, allocations: 16.05 kB / 0.5121 GB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.1142, allocations: 0 / 0.5121 GB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.1143, allocations: 7.984 kB / 0.5121 GB, free: 0.7969 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.1144, allocations: 197.6 kB / 0.5123 GB, free: 0.6055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1144, allocations: 0 / 0.5123 GB, free: 0.6055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1147, allocations: 39.84 kB / 0.5124 GB, free: 0.5664 MB / 350.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.000938/0.1156, allocations: 416.8 kB / 0.5128 GB, free: 320 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.1159, allocations: 87.83 kB / 0.5128 GB, free: 232 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1159, allocations: 0 / 0.5128 GB, free: 232 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/0.116, allocations: 39.92 kB / 0.5129 GB, free: 192 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.1163, allocations: 35.31 kB / 0.5129 GB, free: 160 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007941/0.1171, allocations: 458.4 kB / 0.5134 GB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.1174, allocations: 0.7397 MB / 0.5141 GB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.609e-05/0.1175, allocations: 15.44 kB / 0.5141 GB, free: 14.89 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1175, allocations: 0 / 0.5141 GB, free: 14.89 MB / 366.1 MB Notification: Performance of Templates: time 0.004629/0.1221, allocations: 2.562 MB / 0.5166 GB, free: 12.34 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Tables.makefile (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)