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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009976/0.0009976, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001558/0.002555, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.038/1.038, allocations: 177.2 MB / 188.4 MB, free: 4.414 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1978/1.236, allocations: 53.66 MB / 242 MB, free: 2.629 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 163.6 kB / 242.9 MB, free: 1.746 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00145/0.002537, allocations: 479.4 kB / 243.4 MB, free: 1.293 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02428/0.02428, allocations: 6.649 MB / 250.8 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004224/0.0285, allocations: 2.66 MB / 253.5 MB, free: 7.43 MB / 250.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Electrical.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") translateModel(HanserModelica.Electrical.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Tables") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 254.7 MB, free: 6.141 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058e-05/1.189e-05, allocations: 8.781 kB / 254.7 MB, free: 6.133 MB / 250.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.00249/0.002502, allocations: 2.265 MB / 257 MB, free: 3.852 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.003806, allocations: 1.099 MB / 258.1 MB, free: 2.746 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.622e-05/0.003902, allocations: 7.938 kB / 258.1 MB, free: 2.738 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.004145, allocations: 111.4 kB / 258.2 MB, free: 2.629 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002443/0.00439, allocations: 151.1 kB / 258.4 MB, free: 2.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.004553, allocations: 107.5 kB / 258.5 MB, free: 2.375 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.00478, allocations: 235 kB / 258.7 MB, free: 2.145 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.004891, allocations: 38.44 kB / 258.7 MB, free: 2.109 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.005056, allocations: 156.5 kB / 258.9 MB, free: 1.957 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.005196, allocations: 87.77 kB / 259 MB, free: 1.871 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.005218, allocations: 12 kB / 259 MB, free: 1.859 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.734e-05/0.005305, allocations: 55.92 kB / 259.1 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/0.005361, allocations: 35.88 kB / 259.1 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.414e-05/0.005415, allocations: 43.88 kB / 259.1 MB, free: 1.727 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.005647, allocations: 171.3 kB / 259.3 MB, free: 1.559 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.237e-05/0.005659, allocations: 4 kB / 259.3 MB, free: 1.555 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.005659, allocations: 0 / 259.3 MB, free: 1.555 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.005672, allocations: 7.938 kB / 259.3 MB, free: 1.547 MB / 250.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.0006063/0.006278, allocations: 459.4 kB / 259.8 MB, free: 1.074 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.006315, allocations: 8.031 kB / 259.8 MB, free: 1.066 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.006363, allocations: 20.92 kB / 259.8 MB, free: 1.047 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.006557, allocations: 177.2 kB / 260 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.006579, allocations: 8.609 kB / 260 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.006608, allocations: 12.38 kB / 260 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.006773, allocations: 137.3 kB / 260.1 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.006782, allocations: 7.938 kB / 260.1 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.006792, allocations: 4 kB / 260.1 MB, free: 0.668 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.006799, allocations: 4 kB / 260.1 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.597e-05/0.006844, allocations: 28.67 kB / 260.2 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.00728, allocations: 372 kB / 260.5 MB, free: 248 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.007479, allocations: 120.1 kB / 260.6 MB, free: 116 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.694e-05/0.007506, allocations: 20.84 kB / 260.7 MB, free: 92 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.007517, allocations: 4 kB / 260.7 MB, free: 88 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/0.007647, allocations: 117.5 kB / 260.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.007648, allocations: 0 / 260.8 MB, free: 15.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001799/0.007828, allocations: 88.36 kB / 260.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.007852, allocations: 51.41 kB / 260.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.007982, allocations: 225 kB / 261.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.007997, allocations: 25.7 kB / 261.2 MB, free: 15.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.00806, allocations: 128.2 kB / 261.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.008085, allocations: 35.72 kB / 261.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.008119, allocations: 37.62 kB / 261.4 MB, free: 15.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.008201, allocations: 330.8 kB / 261.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.16e-05/0.008222, allocations: 14.83 kB / 261.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.008353, allocations: 77.91 kB / 261.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.356e-05/0.008417, allocations: 68.98 kB / 261.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.008419, allocations: 0 / 261.8 MB, free: 14.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 9.006e-05/0.008509, allocations: 92.36 kB / 261.9 MB, free: 14.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.008522, allocations: 12.12 kB / 261.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.008527, allocations: 3.938 kB / 261.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.00854, allocations: 3.984 kB / 261.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.925e-05/0.008639, allocations: 33.89 kB / 262 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.008643, allocations: 4 kB / 262 MB, free: 14.63 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.378e-05/0.008687, allocations: 11.95 kB / 262 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.008695, allocations: 4 kB / 262 MB, free: 14.62 MB / 266.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 6.485e-05/0.008759, allocations: 120.6 kB / 262.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.008775, allocations: 11.98 kB / 262.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.00888, allocations: 95 kB / 262.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.008882, allocations: 0 / 262.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.008884, allocations: 3.984 kB / 262.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.008887, allocations: 0 / 262.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.699e-05/0.008984, allocations: 113.8 kB / 262.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.008985, allocations: 0 / 262.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.686e-05/0.009052, allocations: 23.92 kB / 262.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.009069, allocations: 19.86 kB / 262.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.009071, allocations: 0 / 262.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.009081, allocations: 7.938 kB / 262.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.009082, allocations: 4 kB / 262.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.009083, allocations: 0 / 262.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.009212, allocations: 127 kB / 262.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.009228, allocations: 0 / 262.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.476e-05/0.009263, allocations: 11.92 kB / 262.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.009291, allocations: 11.98 kB / 262.5 MB, free: 14.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.0093, allocations: 4 kB / 262.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.766e-05/0.009358, allocations: 81.94 kB / 262.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009358, allocations: 0 / 262.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001292/0.009487, allocations: 43.89 kB / 262.7 MB, free: 13.9 MB / 266.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.nextTimeEvent,table.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001168/0.01065, allocations: 0.5567 MB / 263.2 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.01076, allocations: 56.75 kB / 263.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.01078, allocations: 8 kB / 263.3 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.709e-05/0.01082, allocations: 32.73 kB / 263.3 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.01104, allocations: 280.3 kB / 263.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.01251, allocations: 382.6 kB / 264 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.241e-05/0.01256, allocations: 79.69 kB / 264 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.54e-05/0.0126, allocations: 21.48 kB / 264.1 MB, free: 12.66 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.251e-05/0.01268, allocations: 75.36 kB / 264.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01269, allocations: 0 / 264.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of Templates: time 0.004573/0.01726, allocations: 2.42 MB / 266.6 MB, free: 10.2 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.Tables.makefile [Timeout 660] (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=240 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.81508912704885]