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.006112/0.006112, allocations: 101.1 kB / 15.73 MB, free: 6.004 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.289/1.289, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001295/0.001295, allocations: 184.5 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.03449/0.03449, allocations: 8.797 MB / 348.7 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 79.81 kB / 463.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08966/0.09098, allocations: 51.56 MB / 0.5034 GB, free: 9.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003584/0.09459, allocations: 2.165 MB / 0.5055 GB, free: 7.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.0962, allocations: 0.9469 MB / 0.5064 GB, free: 6.406 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.09636, allocations: 3.938 kB / 0.5064 GB, free: 6.402 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.09673, allocations: 99.61 kB / 0.5065 GB, free: 6.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002932/0.09704, allocations: 111.4 kB / 0.5066 GB, free: 6.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.09743, allocations: 123.6 kB / 0.5067 GB, free: 6.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002958/0.09774, allocations: 219.2 kB / 0.5069 GB, free: 5.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.09788, allocations: 57.66 kB / 0.507 GB, free: 5.805 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.09803, allocations: 83.69 kB / 0.5071 GB, free: 5.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.0982, allocations: 107.6 kB / 0.5072 GB, free: 5.617 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.09824, allocations: 12 kB / 0.5072 GB, free: 5.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.09836, allocations: 59.92 kB / 0.5072 GB, free: 5.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.726e-05/0.09844, allocations: 47.83 kB / 0.5073 GB, free: 5.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.493e-05/0.09854, allocations: 91.41 kB / 0.5074 GB, free: 5.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003191/0.09886, allocations: 223 kB / 0.5076 GB, free: 5.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.09888, allocations: 0 / 0.5076 GB, free: 5.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.09888, allocations: 0 / 0.5076 GB, free: 5.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.0989, allocations: 0 / 0.5076 GB, free: 5.191 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.0006931/0.09959, allocations: 0.5139 MB / 0.5081 GB, free: 4.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.09963, allocations: 12.03 kB / 0.5081 GB, free: 4.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/0.09969, allocations: 28.8 kB / 0.5081 GB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.1, allocations: 241.2 kB / 0.5084 GB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.1001, allocations: 4.609 kB / 0.5084 GB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.1001, allocations: 20.06 kB / 0.5084 GB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.1003, allocations: 127.4 kB / 0.5085 GB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1004, allocations: 0 / 0.5085 GB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.1004, allocations: 8 kB / 0.5085 GB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1004, allocations: 4 kB / 0.5085 GB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001596/0.1006, allocations: 68.67 kB / 0.5086 GB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007347/0.1013, allocations: 0.542 MB / 0.5091 GB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.1017, allocations: 114.6 kB / 0.5092 GB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.859e-05/0.1018, allocations: 36.84 kB / 0.5093 GB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.1018, allocations: 3.984 kB / 0.5093 GB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.102, allocations: 101 kB / 0.5094 GB, free: 3.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.102, allocations: 0 / 0.5094 GB, free: 3.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003358/0.1023, allocations: 145.5 kB / 0.5095 GB, free: 3.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.1024, allocations: 85.11 kB / 0.5096 GB, free: 2.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.1026, allocations: 260.2 kB / 0.5098 GB, free: 2.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.1026, allocations: 26.08 kB / 0.5099 GB, free: 2.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.513e-05/0.1027, allocations: 143.9 kB / 0.51 GB, free: 2.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.1028, allocations: 31.73 kB / 0.51 GB, free: 2.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.329e-05/0.1029, allocations: 33.72 kB / 0.5101 GB, free: 2.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.103, allocations: 338.7 kB / 0.5104 GB, free: 2.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.483e-05/0.1031, allocations: 27.98 kB / 0.5104 GB, free: 2.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.629e-05/0.1032, allocations: 68.22 kB / 0.5105 GB, free: 1.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.1033, allocations: 87.36 kB / 0.5105 GB, free: 1.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1033, allocations: 0 / 0.5105 GB, free: 1.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002418/0.1036, allocations: 145.4 kB / 0.5107 GB, free: 1.734 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1036, allocations: 5.562 kB / 0.5107 GB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1036, allocations: 0 / 0.5107 GB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1036, allocations: 7.984 kB / 0.5107 GB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1038, allocations: 27.98 kB / 0.5107 GB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1038, allocations: 4 kB / 0.5107 GB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.697e-05/0.1039, allocations: 11.94 kB / 0.5107 GB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.1039, allocations: 8.031 kB / 0.5108 GB, free: 1.672 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.000135/0.104, allocations: 147.5 kB / 0.5109 GB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.1041, allocations: 19.89 kB / 0.5109 GB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.1041, allocations: 21.41 kB / 0.5109 GB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1041, allocations: 0 / 0.5109 GB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1041, allocations: 0 / 0.5109 GB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1041, allocations: 0 / 0.5109 GB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.1043, allocations: 253.4 kB / 0.5112 GB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1043, allocations: 0 / 0.5112 GB, free: 1.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.943e-05/0.1044, allocations: 15.98 kB / 0.5112 GB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1044, allocations: 4 kB / 0.5112 GB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1044, allocations: 0 / 0.5112 GB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.1045, allocations: 3.938 kB / 0.5112 GB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1045, allocations: 0 / 0.5112 GB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.1048, allocations: 192.8 kB / 0.5114 GB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/0.1049, allocations: 89.05 kB / 0.5115 GB, free: 0.8359 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.1049, allocations: 8 kB / 0.5115 GB, free: 0.8281 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.105, allocations: 12.05 kB / 0.5115 GB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.105, allocations: 4 kB / 0.5115 GB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.1051, allocations: 8 kB / 0.5115 GB, free: 0.8047 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001545/0.1052, allocations: 197.6 kB / 0.5117 GB, free: 0.6133 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1052, allocations: 0 / 0.5117 GB, free: 0.6133 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1055, allocations: 39.98 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.0008247/0.1063, allocations: 404.1 kB / 0.5121 GB, free: 340 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002104/0.1066, allocations: 79.91 kB / 0.5122 GB, free: 260 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1066, allocations: 0 / 0.5122 GB, free: 260 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.861e-05/0.1067, allocations: 39.92 kB / 0.5122 GB, free: 220 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.1069, allocations: 44.47 kB / 0.5123 GB, free: 176 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007133/0.1077, allocations: 440 kB / 0.5127 GB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.108, allocations: 0.7397 MB / 0.5134 GB, free: 14.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.818e-05/0.1081, allocations: 17.53 kB / 0.5134 GB, free: 14.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.038e-05/0.1082, allocations: 19.44 kB / 0.5134 GB, free: 14.91 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1082, allocations: 0 / 0.5134 GB, free: 14.91 MB / 366.1 MB Notification: Performance of Templates: time 0.005005/0.1132, allocations: 2.114 MB / 0.5155 GB, free: 12.82 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)