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.001135/0.001134, allocations: 108.6 kB / 16.28 MB, free: 6.355 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.47/1.47, allocations: 222.9 MB / 239.9 MB, free: 4.582 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.001405/0.001405, allocations: 207.1 kB / 290.2 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03646/0.03646, allocations: 8.792 MB / 349.2 MB, free: 4.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 81.69 kB / 411.8 MB, free: 42.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09723/0.09909, allocations: 51.57 MB / 463.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.004265/0.1034, allocations: 2.142 MB / 465.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.1052, allocations: 0.9508 MB / 466.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.1055, allocations: 4 kB / 466.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004274/0.1059, allocations: 111.5 kB / 466.5 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003839/0.1063, allocations: 103.4 kB / 466.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.1068, allocations: 134.7 kB / 466.8 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003617/0.1071, allocations: 215.2 kB / 467 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.1073, allocations: 53.66 kB / 467 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.1075, allocations: 91.67 kB / 467.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.1077, allocations: 107.6 kB / 467.2 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.1078, allocations: 12 kB / 467.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.1079, allocations: 47.98 kB / 467.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.788e-05/0.108, allocations: 43.84 kB / 467.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.1081, allocations: 91.42 kB / 467.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.1085, allocations: 227.5 kB / 467.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1085, allocations: 0 / 467.6 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1085, allocations: 4 kB / 467.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.383e-06/0.1085, allocations: 7.938 kB / 467.6 MB, free: 10.04 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.0007693/0.1093, allocations: 0.4909 MB / 468.1 MB, free: 9.492 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1093, allocations: 8.031 kB / 468.1 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.256e-05/0.1094, allocations: 20.75 kB / 468.2 MB, free: 9.465 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.1097, allocations: 248.9 kB / 468.4 MB, free: 9.184 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.1097, allocations: 8.609 kB / 468.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.1098, allocations: 16.12 kB / 468.4 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.11, allocations: 123.5 kB / 468.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.11, allocations: 0 / 468.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.1101, allocations: 4 kB / 468.6 MB, free: 9.031 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1101, allocations: 4 kB / 468.6 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.1102, allocations: 76.61 kB / 468.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008406/0.1111, allocations: 0.5496 MB / 469.2 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/0.1115, allocations: 110.7 kB / 469.3 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.736e-05/0.1116, allocations: 36.84 kB / 469.3 MB, free: 8.188 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.1116, allocations: 7.984 kB / 469.3 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002452/0.1119, allocations: 93.09 kB / 469.4 MB, free: 8.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.1119, allocations: 3.938 kB / 469.4 MB, free: 8.066 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.00037/0.1123, allocations: 141.5 kB / 469.6 MB, free: 7.922 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.1123, allocations: 81.05 kB / 469.6 MB, free: 7.824 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.1126, allocations: 264.2 kB / 469.9 MB, free: 7.555 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.1126, allocations: 29.7 kB / 469.9 MB, free: 7.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.085e-05/0.1127, allocations: 147.6 kB / 470.1 MB, free: 7.371 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.1128, allocations: 31.55 kB / 470.1 MB, free: 7.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.1128, allocations: 25.72 kB / 470.1 MB, free: 7.309 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.113, allocations: 335.1 kB / 470.5 MB, free: 6.973 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.022e-05/0.1131, allocations: 27.98 kB / 470.5 MB, free: 6.945 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.667e-05/0.1132, allocations: 70.33 kB / 470.6 MB, free: 6.863 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.1134, allocations: 91.36 kB / 470.6 MB, free: 6.762 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1134, allocations: 3.938 kB / 470.6 MB, free: 6.758 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002499/0.1136, allocations: 133.5 kB / 470.8 MB, free: 6.621 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1136, allocations: 12.03 kB / 470.8 MB, free: 6.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.1137, allocations: 7.969 kB / 470.8 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.1137, allocations: 0 / 470.8 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.1138, allocations: 27.94 kB / 470.8 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1138, allocations: 0 / 470.8 MB, free: 6.574 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.924e-05/0.1139, allocations: 19.89 kB / 470.8 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.1139, allocations: 7.984 kB / 470.9 MB, free: 6.547 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.000126/0.1141, allocations: 146.3 kB / 471 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.1141, allocations: 23.81 kB / 471 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.122e-05/0.1142, allocations: 17.41 kB / 471 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1142, allocations: 7.984 kB / 471 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1142, allocations: 0 / 471 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1142, allocations: 0 / 471 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.1144, allocations: 245.3 kB / 471.3 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1144, allocations: 0 / 471.3 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.64e-05/0.1145, allocations: 16 kB / 471.3 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1145, allocations: 0 / 471.3 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1146, allocations: 4 kB / 471.3 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1146, allocations: 0 / 471.3 MB, free: 6.035 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1146, allocations: 4 kB / 471.3 MB, free: 6.031 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.1149, allocations: 184.8 kB / 471.5 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/0.115, allocations: 88.95 kB / 471.6 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.115, allocations: 8 kB / 471.6 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-05/0.1151, allocations: 11.98 kB / 471.6 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.1152, allocations: 4 kB / 471.6 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.1152, allocations: 8.047 kB / 471.6 MB, free: 5.695 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001734/0.1154, allocations: 201.5 kB / 471.8 MB, free: 5.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1154, allocations: 0 / 471.8 MB, free: 5.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002576/0.1156, allocations: 47.84 kB / 471.8 MB, free: 5.453 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.0009446/0.1166, allocations: 408 kB / 472.2 MB, free: 5.207 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002576/0.1169, allocations: 83.89 kB / 472.3 MB, free: 5.125 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.1169, allocations: 4.188 kB / 472.3 MB, free: 5.121 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.896e-05/0.117, allocations: 39.92 kB / 472.4 MB, free: 5.082 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.1173, allocations: 43.48 kB / 472.4 MB, free: 5.043 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008379/0.1181, allocations: 450.1 kB / 472.9 MB, free: 4.574 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.1185, allocations: 0.728 MB / 473.6 MB, free: 3.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.804e-05/0.1185, allocations: 23.44 kB / 473.6 MB, free: 3.797 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1186, allocations: 0 / 473.6 MB, free: 3.797 MB / 302.1 MB Notification: Performance of Templates: time 0.005131/0.1237, allocations: 2.548 MB / 476.2 MB, free: 1.262 MB / 302.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)