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.001259/0.001259, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 239.2 MB, free: 4.594 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.001913/0.001913, allocations: 188.5 kB / 289.5 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03373/0.03373, allocations: 8.796 MB / 348.5 MB, free: 4.715 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001477, allocations: 81.7 kB / 411.1 MB, free: 42.06 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09903/0.1005, allocations: 51.56 MB / 462.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.004186/0.1048, allocations: 2.142 MB / 464.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1064, allocations: 0.9548 MB / 465.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1065, allocations: 3.938 kB / 465.7 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.1068, allocations: 103.6 kB / 465.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002886/0.1072, allocations: 107.4 kB / 465.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.1075, allocations: 135.6 kB / 466.1 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002448/0.1078, allocations: 211.2 kB / 466.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001659/0.1079, allocations: 53.64 kB / 466.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.1081, allocations: 83.7 kB / 466.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.1082, allocations: 115.5 kB / 466.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.1083, allocations: 12 kB / 466.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1084, allocations: 51.97 kB / 466.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.674e-05/0.1085, allocations: 43.84 kB / 466.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.104e-05/0.1086, allocations: 87.47 kB / 466.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002762/0.1089, allocations: 231.4 kB / 466.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1089, allocations: 0 / 466.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1089, allocations: 0 / 466.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.912e-06/0.1089, allocations: 0 / 466.9 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.000674/0.1096, allocations: 0.5064 MB / 467.5 MB, free: 9.477 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.1096, allocations: 8.031 kB / 467.5 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.1097, allocations: 24.75 kB / 467.5 MB, free: 9.445 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.1099, allocations: 245 kB / 467.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1099, allocations: 8.547 kB / 467.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.11, allocations: 16.12 kB / 467.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.1102, allocations: 119.5 kB / 467.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1102, allocations: 4 kB / 467.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.1103, allocations: 7.984 kB / 467.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1103, allocations: 4 kB / 467.9 MB, free: 9.008 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.1104, allocations: 64.67 kB / 467.9 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000748/0.1112, allocations: 0.5535 MB / 468.5 MB, free: 8.332 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003385/0.1115, allocations: 118.6 kB / 468.6 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/0.1116, allocations: 32.84 kB / 468.6 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.1116, allocations: 0 / 468.6 MB, free: 8.172 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.1119, allocations: 101 kB / 468.7 MB, free: 8.055 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.061e-06/0.1119, allocations: 0 / 468.7 MB, free: 8.055 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003469/0.1122, allocations: 145.4 kB / 468.9 MB, free: 7.906 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.1123, allocations: 77.11 kB / 469 MB, free: 7.812 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.1125, allocations: 264.2 kB / 469.2 MB, free: 7.543 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1125, allocations: 29.7 kB / 469.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.564e-05/0.1126, allocations: 148 kB / 469.4 MB, free: 7.359 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.1127, allocations: 27.56 kB / 469.4 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.1127, allocations: 37.7 kB / 469.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1129, allocations: 334.8 kB / 469.8 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.5e-05/0.1129, allocations: 27.94 kB / 469.8 MB, free: 6.926 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.955e-05/0.113, allocations: 72.14 kB / 469.9 MB, free: 6.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.1132, allocations: 87.45 kB / 470 MB, free: 6.742 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1132, allocations: 3.938 kB / 470 MB, free: 6.738 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000225/0.1134, allocations: 133.4 kB / 470.1 MB, free: 6.602 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1135, allocations: 8 kB / 470.1 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1135, allocations: 96 / 470.1 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.1135, allocations: 4 kB / 470.1 MB, free: 6.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1136, allocations: 27.98 kB / 470.1 MB, free: 6.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.1136, allocations: 11.92 kB / 470.2 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.547e-05/0.1137, allocations: 7.906 kB / 470.2 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.1137, allocations: 4 kB / 470.2 MB, free: 6.539 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.0001186/0.1139, allocations: 148.7 kB / 470.3 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.1139, allocations: 15.81 kB / 470.3 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.92e-05/0.1139, allocations: 25.39 kB / 470.4 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.114, allocations: 8 kB / 470.4 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.114, allocations: 0 / 470.4 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.114, allocations: 0 / 470.4 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.1142, allocations: 249.3 kB / 470.6 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1142, allocations: 0 / 470.6 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.226e-05/0.1143, allocations: 15.98 kB / 470.6 MB, free: 6.027 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1143, allocations: 3.938 kB / 470.6 MB, free: 6.023 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.1143, allocations: 4 kB / 470.6 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1143, allocations: 0 / 470.6 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1143, allocations: 0 / 470.6 MB, free: 6.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.1146, allocations: 188.8 kB / 470.8 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.605e-05/0.1147, allocations: 92.94 kB / 470.9 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.1147, allocations: 8 kB / 470.9 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.462e-05/0.1148, allocations: 4 kB / 470.9 MB, free: 5.695 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.1149, allocations: 7.984 kB / 470.9 MB, free: 5.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.1149, allocations: 8 kB / 470.9 MB, free: 5.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001694/0.1151, allocations: 201.6 kB / 471.1 MB, free: 5.484 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1151, allocations: 3.938 kB / 471.1 MB, free: 5.48 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.1153, allocations: 43.84 kB / 471.2 MB, free: 5.438 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.0009011/0.1162, allocations: 403.4 kB / 471.6 MB, free: 5.195 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.1165, allocations: 83.84 kB / 471.6 MB, free: 5.113 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1165, allocations: 0 / 471.6 MB, free: 5.113 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.266e-05/0.1166, allocations: 35.98 kB / 471.7 MB, free: 5.078 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.1169, allocations: 54.84 kB / 471.7 MB, free: 5.031 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007469/0.1176, allocations: 428.3 kB / 472.2 MB, free: 4.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.1179, allocations: 0.728 MB / 472.9 MB, free: 3.836 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.337e-05/0.118, allocations: 17.55 kB / 472.9 MB, free: 3.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.118, allocations: 23.42 kB / 472.9 MB, free: 3.797 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.118, allocations: 0 / 472.9 MB, free: 3.797 MB / 302.1 MB Notification: Performance of Templates: time 0.00479/0.1228, allocations: 2.087 MB / 475 MB, free: 1.73 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)