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.001283/0.001283, allocations: 92.22 kB / 19.65 MB, free: 276 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.101/1.101, allocations: 177.2 MB / 200 MB, free: 5.547 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.001436/0.001436, allocations: 156.6 kB / 256.6 MB, free: 13.02 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.02293/0.02293, allocations: 6.654 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 1.893e-06/1.893e-06, allocations: 0 / 391.6 MB, free: 2.605 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.279e-05/3.469e-05, allocations: 9.969 kB / 391.6 MB, free: 2.598 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.003112/0.003147, allocations: 2.211 MB / 393.8 MB, free: 372 kB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.004789, allocations: 1.072 MB / 394.9 MB, free: 15.29 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.004948, allocations: 7.938 kB / 394.9 MB, free: 15.28 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004442/0.005392, allocations: 107.5 kB / 395 MB, free: 15.17 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005492/0.005941, allocations: 151.1 kB / 395.2 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.006232, allocations: 107.6 kB / 395.3 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.00654, allocations: 227.1 kB / 395.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.006689, allocations: 41.64 kB / 395.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.00684, allocations: 127.7 kB / 395.7 MB, free: 14.53 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.006984, allocations: 91.77 kB / 395.8 MB, free: 14.44 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.007011, allocations: 16 kB / 395.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.007121, allocations: 59.84 kB / 395.8 MB, free: 14.37 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.73e-05/0.007199, allocations: 47.78 kB / 395.9 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.987e-05/0.007269, allocations: 55.84 kB / 395.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.007541, allocations: 175.4 kB / 396.1 MB, free: 14.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.007545, allocations: 0 / 396.1 MB, free: 14.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.007547, allocations: 0 / 396.1 MB, free: 14.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.007553, 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.000684/0.008237, allocations: 0.5424 MB / 396.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.008281, allocations: 8.031 kB / 396.7 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.008394, allocations: 36.8 kB / 396.7 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/0.008651, allocations: 188.2 kB / 396.9 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.008674, allocations: 8.609 kB / 396.9 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.008705, allocations: 16.36 kB / 396.9 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.008936, allocations: 130.5 kB / 397 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.008951, allocations: 7.875 kB / 397 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.604e-05/0.008967, allocations: 7.984 kB / 397 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.008978, allocations: 4 kB / 397 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.209e-05/0.00906, allocations: 44.66 kB / 397.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006415/0.009702, allocations: 0.5135 MB / 397.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.009984, allocations: 99.12 kB / 397.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/0.01003, allocations: 27.67 kB / 397.7 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.01005, allocations: 4 kB / 397.7 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.01022, allocations: 133.9 kB / 397.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.01023, allocations: 0 / 397.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002479/0.01047, allocations: 121.5 kB / 398 MB, free: 12.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.01051, allocations: 77.11 kB / 398.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.01072, allocations: 278.7 kB / 398.3 MB, free: 11.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.01075, allocations: 29.7 kB / 398.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.01088, allocations: 194.9 kB / 398.5 MB, free: 11.42 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.01091, allocations: 31.73 kB / 398.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.307e-05/0.01096, allocations: 35.38 kB / 398.6 MB, free: 11.35 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.0111, allocations: 0.504 MB / 399.1 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.15e-05/0.01114, allocations: 15.98 kB / 399.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.843e-05/0.01122, allocations: 92.06 kB / 399.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.01132, allocations: 82.66 kB / 399.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.01133, allocations: 0 / 399.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001649/0.01149, allocations: 125.4 kB / 399.4 MB, free: 10.47 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.01151, allocations: 4 kB / 399.4 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.01152, allocations: 0 / 399.4 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.01154, allocations: 4 kB / 399.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.242e-05/0.01162, allocations: 23.98 kB / 399.5 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.01163, allocations: 4.094 kB / 399.5 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.894e-05/0.01169, allocations: 19.94 kB / 399.5 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.0117, 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 0.000115/0.01181, allocations: 164.5 kB / 399.6 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.01184, allocations: 27.8 kB / 399.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001973/0.01203, allocations: 111.1 kB / 399.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.01204, allocations: 4 kB / 399.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.01204, allocations: 0 / 399.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.01205, allocations: 3.984 kB / 399.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.01223, allocations: 188.5 kB / 400 MB, free: 9.875 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01223, allocations: 4 kB / 400 MB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.49e-05/0.0123, allocations: 23.94 kB / 400 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.01231, allocations: 0 / 400 MB, free: 9.848 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.01232, allocations: 3.938 kB / 400 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01232, allocations: 0 / 400 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.01232, allocations: 4 kB / 400 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.01253, allocations: 172.4 kB / 400.2 MB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.01255, allocations: 19.89 kB / 400.2 MB, free: 9.629 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.01258, allocations: 3.938 kB / 400.2 MB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.764e-05/0.01261, allocations: 8.031 kB / 400.2 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.01266, allocations: 15.97 kB / 400.2 MB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.01268, allocations: 4 kB / 400.2 MB, free: 9.598 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.01278, allocations: 201.4 kB / 400.4 MB, free: 9.402 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01278, allocations: 4 kB / 400.4 MB, free: 9.398 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002043/0.01298, allocations: 43.89 kB / 400.5 MB, free: 9.355 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.000864/0.01385, allocations: 376.5 kB / 400.8 MB, free: 9.098 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.01404, allocations: 75.47 kB / 400.9 MB, free: 9.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01404, allocations: 0 / 400.9 MB, free: 9.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.353e-05/0.01409, allocations: 39.61 kB / 401 MB, free: 8.977 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.01431, allocations: 32.66 kB / 401 MB, free: 8.945 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007684/0.01507, allocations: 389.6 kB / 401.4 MB, free: 8.535 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.31e-05/0.01513, allocations: 83.81 kB / 401.4 MB, free: 8.434 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.508e-05/0.01518, allocations: 21.47 kB / 401.5 MB, free: 8.414 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.641e-05/0.01522, allocations: 20.5 kB / 401.5 MB, free: 8.395 MB / 330.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01522, allocations: 0 / 401.5 MB, free: 8.395 MB / 330.7 MB Notification: Performance of Templates: time 0.004836/0.02006, allocations: 2.305 MB / 403.8 MB, free: 6.121 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.319502224214375]