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.0008768/0.0008768, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.019/1.019, allocations: 177.1 MB / 200 MB, free: 5.488 MB / 186.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.00188/0.00188, allocations: 159.9 kB / 256.6 MB, free: 12.97 MB / 250.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.02398/0.02398, allocations: 6.657 MB / 319.8 MB, free: 26.54 MB / 266.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 3.216e-06/3.216e-06, allocations: 0 / 391.6 MB, free: 2.602 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.501e-05/4.822e-05, allocations: 2.312 kB / 391.6 MB, free: 2.598 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003192/0.00324, allocations: 2.219 MB / 393.8 MB, free: 364 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.004704, allocations: 1.079 MB / 394.9 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.004826, allocations: 0 / 394.9 MB, free: 15.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003818/0.005208, allocations: 103.5 kB / 395 MB, free: 15.17 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003812/0.005589, allocations: 147.2 kB / 395.2 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.005809, allocations: 111.5 kB / 395.3 MB, free: 14.91 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.006063, allocations: 231.1 kB / 395.5 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.006222, allocations: 37.64 kB / 395.5 MB, free: 14.65 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.006366, allocations: 131.6 kB / 395.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.006504, allocations: 95.77 kB / 395.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.00653, allocations: 12 kB / 395.8 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.994e-05/0.00663, allocations: 59.91 kB / 395.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.39e-05/0.006694, allocations: 43.84 kB / 395.9 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.315e-05/0.006757, allocations: 59.78 kB / 395.9 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.007009, allocations: 171.4 kB / 396.1 MB, free: 14.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.007013, allocations: 0 / 396.1 MB, free: 14.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.572e-06/0.007015, allocations: 0 / 396.1 MB, free: 14.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.00702, allocations: 0 / 396.1 MB, free: 14.09 MB / 330.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.0006039/0.007624, allocations: 0.5463 MB / 396.6 MB, free: 13.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.007664, allocations: 8.031 kB / 396.7 MB, free: 13.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.664e-05/0.007731, allocations: 36.8 kB / 396.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.007951, allocations: 184.2 kB / 396.9 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.007972, allocations: 8.609 kB / 396.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.008004, allocations: 12.38 kB / 396.9 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.008222, allocations: 138.4 kB / 397 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.00823, allocations: 3.938 kB / 397 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.008243, allocations: 4 kB / 397 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.008253, allocations: 8 kB / 397 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.924e-05/0.008332, allocations: 44.66 kB / 397.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.00891, allocations: 0.5096 MB / 397.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.009165, allocations: 95.2 kB / 397.7 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/0.009207, allocations: 23.69 kB / 397.7 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.009225, allocations: 3.984 kB / 397.7 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.00937, allocations: 141.9 kB / 397.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.009372, allocations: 0 / 397.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.00023/0.009601, allocations: 117.5 kB / 398 MB, free: 12.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.009642, allocations: 77.11 kB / 398 MB, free: 11.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.009811, allocations: 278.7 kB / 398.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.009828, allocations: 29.7 kB / 398.3 MB, free: 11.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.86e-05/0.009916, allocations: 194.9 kB / 398.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.009941, allocations: 35.73 kB / 398.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.009983, allocations: 31.38 kB / 398.6 MB, free: 11.35 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.01012, allocations: 0.5079 MB / 399.1 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.01015, allocations: 15.98 kB / 399.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.199e-05/0.01021, allocations: 96 kB / 399.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.771e-05/0.01029, allocations: 74.69 kB / 399.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01029, allocations: 0 / 399.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001426/0.01044, allocations: 125.4 kB / 399.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.01045, allocations: 8 kB / 399.4 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.01046, allocations: 4.109 kB / 399.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.01047, allocations: 4 kB / 399.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.643e-05/0.01055, allocations: 27.92 kB / 399.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.01056, allocations: 4 kB / 399.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.254e-05/0.01061, allocations: 15.94 kB / 399.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.01062, allocations: 4 kB / 399.5 MB, free: 10.41 MB / 330.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 8.226e-05/0.0107, allocations: 164.2 kB / 399.6 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.01072, allocations: 27.8 kB / 399.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/0.01089, allocations: 119 kB / 399.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01089, allocations: 0 / 399.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.01089, allocations: 4 kB / 399.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.0109, allocations: 3.984 kB / 399.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.01103, allocations: 192.5 kB / 400 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.01104, allocations: 3.984 kB / 400 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.932e-05/0.0111, allocations: 12 kB / 400 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.0111, allocations: 0 / 400 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.01111, allocations: 7.938 kB / 400 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.01111, allocations: 0 / 400 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01111, allocations: 0 / 400 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.01131, allocations: 176.5 kB / 400.2 MB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.86e-05/0.01133, allocations: 15.94 kB / 400.2 MB, free: 9.629 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.01135, allocations: 7.922 kB / 400.2 MB, free: 9.621 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.143e-05/0.01139, allocations: 12 kB / 400.2 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.01143, allocations: 3.984 kB / 400.2 MB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.01144, allocations: 4 kB / 400.2 MB, free: 9.602 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.892e-05/0.01154, allocations: 205.5 kB / 400.4 MB, free: 9.402 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01154, allocations: 0 / 400.4 MB, free: 9.402 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00017/0.01171, allocations: 43.89 kB / 400.5 MB, free: 9.359 MB / 330.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.000776/0.01248, allocations: 375.8 kB / 400.8 MB, free: 9.098 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.01263, allocations: 70.91 kB / 400.9 MB, free: 9.027 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.01263, allocations: 4 kB / 400.9 MB, free: 9.023 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.955e-05/0.01268, allocations: 47.95 kB / 400.9 MB, free: 8.973 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.01288, allocations: 36.47 kB / 401 MB, free: 8.938 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007944/0.01367, allocations: 393.6 kB / 401.4 MB, free: 8.523 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.205e-05/0.01372, allocations: 79.81 kB / 401.4 MB, free: 8.426 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.419e-05/0.01378, allocations: 21.47 kB / 401.5 MB, free: 8.406 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.01382, allocations: 16.5 kB / 401.5 MB, free: 8.391 MB / 330.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01382, allocations: 0 / 401.5 MB, free: 8.391 MB / 330.7 MB Notification: Performance of Templates: time 0.004041/0.01786, allocations: 2.163 MB / 403.6 MB, free: 6.254 MB / 330.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: 3.291911782231182]