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.007114/0.007114, allocations: 102.1 kB / 15.73 MB, free: 6.492 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.393/1.393, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.001275/0.001276, allocations: 192.4 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03471/0.03471, allocations: 8.796 MB / 348.6 MB, free: 4.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 79.88 kB / 463.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09422/0.09572, allocations: 51.55 MB / 0.5034 GB, free: 9.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003444/0.0992, allocations: 2.165 MB / 0.5055 GB, free: 7.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001604/0.1008, allocations: 0.9431 MB / 0.5064 GB, free: 6.395 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.074e-05/0.1009, allocations: 0 / 0.5064 GB, free: 6.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003424/0.1013, allocations: 107.5 kB / 0.5065 GB, free: 6.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003329/0.1016, allocations: 111.4 kB / 0.5066 GB, free: 6.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.102, allocations: 127.5 kB / 0.5067 GB, free: 6.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.1022, allocations: 219.2 kB / 0.5069 GB, free: 5.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.1024, allocations: 53.64 kB / 0.507 GB, free: 5.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.1025, allocations: 95.62 kB / 0.5071 GB, free: 5.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.1027, allocations: 103.6 kB / 0.5072 GB, free: 5.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.47e-05/0.1028, allocations: 12 kB / 0.5072 GB, free: 5.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.1029, allocations: 51.98 kB / 0.5072 GB, free: 5.531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.362e-05/0.103, allocations: 47.78 kB / 0.5073 GB, free: 5.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.822e-05/0.1031, allocations: 87.47 kB / 0.5074 GB, free: 5.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.1034, allocations: 227.2 kB / 0.5076 GB, free: 5.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.1034, allocations: 4 kB / 0.5076 GB, free: 5.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1034, allocations: 0 / 0.5076 GB, free: 5.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.457e-06/0.1034, allocations: 0 / 0.5076 GB, free: 5.172 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.0007685/0.1042, allocations: 0.5065 MB / 0.5081 GB, free: 4.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1042, allocations: 8.031 kB / 0.5081 GB, free: 4.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.715e-05/0.1043, allocations: 20.75 kB / 0.5081 GB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.1046, allocations: 248.9 kB / 0.5084 GB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1046, allocations: 12.61 kB / 0.5084 GB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.1047, allocations: 20.03 kB / 0.5084 GB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.1049, allocations: 120.7 kB / 0.5085 GB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1049, allocations: 0 / 0.5085 GB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.105, allocations: 4 kB / 0.5085 GB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.105, allocations: 7.938 kB / 0.5085 GB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.1051, allocations: 68.67 kB / 0.5086 GB, free: 4.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007574/0.1059, allocations: 0.5457 MB / 0.5091 GB, free: 3.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.1063, allocations: 110.6 kB / 0.5092 GB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.233e-05/0.1064, allocations: 36.84 kB / 0.5093 GB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.1064, allocations: 4 kB / 0.5093 GB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.1066, allocations: 101 kB / 0.5094 GB, free: 3.184 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.884e-06/0.1066, allocations: 0 / 0.5094 GB, free: 3.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003844/0.107, allocations: 145.7 kB / 0.5095 GB, free: 3.035 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.1071, allocations: 81.11 kB / 0.5096 GB, free: 2.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.1073, allocations: 256.3 kB / 0.5098 GB, free: 2.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.1074, allocations: 37.64 kB / 0.5098 GB, free: 2.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.1075, allocations: 143.8 kB / 0.51 GB, free: 2.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.1075, allocations: 35.53 kB / 0.51 GB, free: 2.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.1076, allocations: 29.72 kB / 0.51 GB, free: 2.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1077, allocations: 334.8 kB / 0.5104 GB, free: 2.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.351e-05/0.1078, allocations: 27.98 kB / 0.5104 GB, free: 2.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.297e-05/0.1079, allocations: 68.22 kB / 0.5105 GB, free: 1.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.1081, allocations: 87.36 kB / 0.5105 GB, free: 1.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1081, allocations: 0 / 0.5105 GB, free: 1.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002446/0.1083, allocations: 137.4 kB / 0.5107 GB, free: 1.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1084, allocations: 13.47 kB / 0.5107 GB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.1084, allocations: 4 kB / 0.5107 GB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1084, allocations: 0 / 0.5107 GB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.1085, allocations: 23.98 kB / 0.5107 GB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.1085, allocations: 4 kB / 0.5107 GB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.621e-05/0.1086, allocations: 11.91 kB / 0.5107 GB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.1086, allocations: 11.98 kB / 0.5107 GB, free: 1.668 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.0001415/0.1088, allocations: 144.3 kB / 0.5109 GB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/0.1088, allocations: 19.81 kB / 0.5109 GB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.768e-05/0.1089, allocations: 25.39 kB / 0.5109 GB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1089, allocations: 0 / 0.5109 GB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1089, allocations: 0 / 0.5109 GB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.1089, allocations: 4 kB / 0.5109 GB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.1091, allocations: 241.4 kB / 0.5112 GB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1092, allocations: 0 / 0.5112 GB, free: 1.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.154e-05/0.1092, allocations: 15.98 kB / 0.5112 GB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1093, allocations: 0 / 0.5112 GB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1093, allocations: 0 / 0.5112 GB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1093, allocations: 4 kB / 0.5112 GB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1093, allocations: 4 kB / 0.5112 GB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003608/0.1096, allocations: 192.7 kB / 0.5114 GB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.1097, allocations: 88.95 kB / 0.5114 GB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.1097, allocations: 0 / 0.5114 GB, free: 0.8398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.488e-05/0.1098, allocations: 4 kB / 0.5114 GB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.1099, allocations: 12.08 kB / 0.5115 GB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.1099, allocations: 8 kB / 0.5115 GB, free: 0.8164 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001896/0.1101, allocations: 205.6 kB / 0.5117 GB, free: 0.6172 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1101, allocations: 3.938 kB / 0.5117 GB, free: 0.6133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1103, allocations: 39.84 kB / 0.5117 GB, free: 0.5742 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.000983/0.1113, allocations: 408.5 kB / 0.5121 GB, free: 336 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.1116, allocations: 75.91 kB / 0.5122 GB, free: 260 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1116, allocations: 192 / 0.5122 GB, free: 260 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.275e-05/0.1117, allocations: 47.86 kB / 0.5122 GB, free: 212 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.112, allocations: 43.56 kB / 0.5123 GB, free: 172 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007222/0.1127, allocations: 436.5 kB / 0.5127 GB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.113, allocations: 0.7241 MB / 0.5134 GB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.653e-05/0.1131, allocations: 29.52 kB / 0.5134 GB, free: 14.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.1131, allocations: 15.44 kB / 0.5134 GB, free: 14.92 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1131, allocations: 0 / 0.5134 GB, free: 14.92 MB / 366.1 MB Notification: Performance of Templates: time 0.005172/0.1183, allocations: 2.103 MB / 0.5155 GB, free: 12.84 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)