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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 182.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03756/0.03756, allocations: 8.796 MB / 25.53 MB, free: 3.746 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 251.3 MB, free: 7.398 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009018/0.0009021, allocations: 96.22 kB / 303.6 MB, free: 14.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 63.91 kB / 366 MB, free: 180 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2024, allocations: 51.55 MB / 417.5 MB, free: 20.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.002878/0.2054, allocations: 2.215 MB / 419.7 MB, free: 18.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.2065, allocations: 0.9391 MB / 420.7 MB, free: 17.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.608e-05/0.2066, allocations: 0 / 420.7 MB, free: 17.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.207, allocations: 99.67 kB / 420.8 MB, free: 17.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.2072, allocations: 91.62 kB / 420.9 MB, free: 17.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002566/0.2075, allocations: 121.1 kB / 421 MB, free: 17.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.2076, allocations: 207.2 kB / 421.2 MB, free: 17.24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.2078, allocations: 47.75 kB / 421.2 MB, free: 17.2 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.435e-05/0.2079, allocations: 79.7 kB / 421.3 MB, free: 17.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.208, allocations: 115.5 kB / 421.4 MB, free: 17 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.208, allocations: 8 kB / 421.4 MB, free: 17 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.696e-05/0.2081, allocations: 43.98 kB / 421.5 MB, free: 16.95 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.801e-05/0.2082, allocations: 43.83 kB / 421.5 MB, free: 16.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.473e-05/0.2082, allocations: 79.48 kB / 421.6 MB, free: 16.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.2084, allocations: 223.2 kB / 421.8 MB, free: 16.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2084, allocations: 3.938 kB / 421.8 MB, free: 16.61 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2084, allocations: 0 / 421.8 MB, free: 16.61 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.2085, allocations: 0 / 421.8 MB, free: 16.61 MB / 298.7 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.0005999/0.2091, allocations: 0.4988 MB / 422.3 MB, free: 16.06 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.2091, allocations: 12.03 kB / 422.3 MB, free: 16.05 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.2092, allocations: 16.75 kB / 422.3 MB, free: 16.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.2094, allocations: 248.9 kB / 422.6 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.2094, allocations: 12.61 kB / 422.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.2094, allocations: 16.12 kB / 422.6 MB, free: 15.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.2096, allocations: 121.1 kB / 422.7 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.2096, allocations: 3.938 kB / 422.7 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.2097, allocations: 8 kB / 422.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2097, allocations: 0 / 422.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.2098, allocations: 76.66 kB / 422.8 MB, free: 15.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.2104, allocations: 0.5535 MB / 423.4 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.2107, allocations: 98.72 kB / 423.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.735e-05/0.2108, allocations: 40.84 kB / 423.5 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.2108, allocations: 3.938 kB / 423.5 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001787/0.211, allocations: 101.1 kB / 423.6 MB, free: 14.63 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.143e-06/0.211, allocations: 0 / 423.6 MB, free: 14.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002818/0.2113, allocations: 145.4 kB / 423.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.879e-05/0.2113, allocations: 85.05 kB / 423.8 MB, free: 14.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.2115, allocations: 260.2 kB / 424.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.2115, allocations: 29.69 kB / 424.1 MB, free: 14.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.2116, allocations: 143.6 kB / 424.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.2116, allocations: 35.55 kB / 424.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.2117, allocations: 33.7 kB / 424.3 MB, free: 13.86 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.465e-05/0.2117, allocations: 330.8 kB / 424.6 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.178e-05/0.2118, allocations: 35.92 kB / 424.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.2118, allocations: 67.09 kB / 424.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.212, allocations: 91.39 kB / 424.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.212, allocations: 0 / 424.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001841/0.2122, allocations: 141.3 kB / 425 MB, free: 13.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.2122, allocations: 4 kB / 425 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2122, allocations: 7.984 kB / 425 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.2122, allocations: 4.469 kB / 425 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.323e-05/0.2123, allocations: 23.94 kB / 425 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2123, allocations: 7.984 kB / 425 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.111e-05/0.2124, allocations: 15.84 kB / 425 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.964e-06/0.2124, allocations: 7.938 kB / 425 MB, free: 13.1 MB / 298.7 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 7.718e-05/0.2125, allocations: 142.3 kB / 425.2 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.2125, allocations: 15.81 kB / 425.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.2126, allocations: 25.39 kB / 425.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2126, allocations: 4 kB / 425.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2126, allocations: 0 / 425.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2126, allocations: 0 / 425.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.2127, allocations: 245.4 kB / 425.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2127, allocations: 3.938 kB / 425.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.307e-05/0.2128, allocations: 16 kB / 425.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2128, allocations: 0 / 425.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.2128, allocations: 0 / 425.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.2128, allocations: 3.984 kB / 425.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2129, allocations: 4 kB / 425.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.2142, allocations: 1.472 MB / 427 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.2142, allocations: 92.95 kB / 427.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.2142, allocations: 4 kB / 427.1 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.938e-05/0.2143, allocations: 7.984 kB / 427.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.2143, allocations: 7.938 kB / 427.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.2144, allocations: 7.984 kB / 427.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001075/0.2145, allocations: 193.6 kB / 427.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2145, allocations: 4 kB / 427.3 MB, free: 10.63 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002941/0.2148, allocations: 44 kB / 427.3 MB, free: 10.59 MB / 298.7 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.0007185/0.2155, allocations: 414.1 kB / 427.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001772/0.2157, allocations: 83.83 kB / 427.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2157, allocations: 0 / 427.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.067e-05/0.2158, allocations: 36 kB / 427.8 MB, free: 10.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.2161, allocations: 35.64 kB / 427.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006625/0.2167, allocations: 0.6064 MB / 428.5 MB, free: 9.535 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.2169, allocations: 0.7363 MB / 429.2 MB, free: 8.773 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.991e-05/0.217, allocations: 29.53 kB / 429.3 MB, free: 8.738 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.217, allocations: 23.38 kB / 429.3 MB, free: 8.719 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.217, allocations: 0 / 429.3 MB, free: 8.719 MB / 298.7 MB Notification: Performance of Templates: time 0.00393/0.221, allocations: 2.11 MB / 431.4 MB, free: 6.633 MB / 298.7 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)