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.001575/0.001575, allocations: 88.72 kB / 19.44 MB, free: 356 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.613/1.613, allocations: 177.1 MB / 199.7 MB, free: 5.82 MB / 186.7 MB " [Timeout remaining time 178] 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.001877/0.001877, allocations: 160.7 kB / 256.3 MB, free: 13.18 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.03736/0.03736, allocations: 6.667 MB / 319.4 MB, free: 26.58 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.914e-06/1.914e-06, allocations: 0 / 390.9 MB, free: 2.992 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.488e-05/3.679e-05, allocations: 2.312 kB / 390.9 MB, free: 2.988 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.005205/0.005242, allocations: 2.11 MB / 393 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003052/0.008294, allocations: 1.056 MB / 394.1 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002901/0.008584, allocations: 0 / 394.1 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005849/0.009169, allocations: 111.4 kB / 394.2 MB, free: 15.69 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007181/0.009887, allocations: 147.2 kB / 394.3 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.01034, allocations: 103.6 kB / 394.4 MB, free: 15.44 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005226/0.01087, allocations: 235 kB / 394.6 MB, free: 15.21 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002093/0.01108, allocations: 37.59 kB / 394.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003266/0.0114, allocations: 127.7 kB / 394.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.01166, allocations: 99.75 kB / 394.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.01171, allocations: 12 kB / 394.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.01191, allocations: 47.98 kB / 395 MB, free: 14.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.01203, allocations: 51.77 kB / 395 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.01216, allocations: 59.84 kB / 395.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005509/0.01271, allocations: 231.2 kB / 395.3 MB, free: 14.56 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.01271, allocations: 0 / 395.3 MB, free: 14.56 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.01271, allocations: 3.938 kB / 395.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.01272, allocations: 0 / 395.3 MB, free: 14.55 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.001085/0.01381, allocations: 453.2 kB / 395.7 MB, free: 14.08 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.01386, allocations: 8.031 kB / 395.8 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.01399, allocations: 36.75 kB / 395.8 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.0144, allocations: 181.4 kB / 396 MB, free: 13.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.01443, allocations: 12.61 kB / 396 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/0.01447, allocations: 12.38 kB / 396 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.01487, allocations: 145.8 kB / 396.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.01488, allocations: 3.938 kB / 396.1 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.01491, allocations: 4 kB / 396.1 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.01491, allocations: 8 kB / 396.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.01512, allocations: 76.66 kB / 396.2 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0014/0.01652, allocations: 474.5 kB / 396.7 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004871/0.01701, allocations: 98.72 kB / 396.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.01712, allocations: 36.84 kB / 396.8 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.01715, allocations: 4 kB / 396.8 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003047/0.01745, allocations: 134.6 kB / 397 MB, free: 12.76 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 1.954e-06/0.01746, allocations: 0 / 397 MB, free: 12.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005271/0.01798, allocations: 157.5 kB / 397.1 MB, free: 12.6 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.845e-05/0.01807, allocations: 77.11 kB / 397.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.01847, allocations: 264.1 kB / 397.4 MB, free: 12.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.0185, allocations: 25.7 kB / 397.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.01865, allocations: 144.2 kB / 397.6 MB, free: 12.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.936e-05/0.01872, allocations: 39.62 kB / 397.6 MB, free: 12.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.104e-05/0.01882, allocations: 29.7 kB / 397.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.01902, allocations: 334.8 kB / 398 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.01913, allocations: 27.98 kB / 398 MB, free: 11.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.01928, allocations: 97.14 kB / 398.1 MB, free: 11.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.01948, allocations: 91.36 kB / 398.2 MB, free: 11.4 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.01949, allocations: 4 kB / 398.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003708/0.01986, allocations: 141.5 kB / 398.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.01988, allocations: 8.125 kB / 398.4 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.01989, allocations: 0 / 398.4 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/0.01991, allocations: 4 kB / 398.4 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.02006, allocations: 35.84 kB / 398.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.02006, allocations: 0 / 398.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000128/0.02019, allocations: 15.89 kB / 398.4 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.02021, allocations: 8 kB / 398.4 MB, free: 11.18 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.000195/0.02041, allocations: 133.8 kB / 398.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.723e-05/0.02047, allocations: 27.8 kB / 398.6 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003756/0.02085, allocations: 143 kB / 398.7 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.02085, allocations: 0 / 398.7 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.02086, allocations: 0 / 398.7 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.02087, allocations: 3.984 kB / 398.7 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/0.02113, allocations: 177.2 kB / 398.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.02113, allocations: 0 / 398.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.02123, allocations: 12 kB / 398.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.02123, allocations: 0 / 398.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.02126, allocations: 11.94 kB / 398.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.02126, allocations: 0 / 398.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.02127, allocations: 7.938 kB / 398.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000471/0.02174, allocations: 209 kB / 399.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.02178, allocations: 15.92 kB / 399.2 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.02182, allocations: 3.938 kB / 399.2 MB, free: 10.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-05/0.02191, allocations: 8 kB / 399.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/0.02197, allocations: 7.984 kB / 399.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.02199, allocations: 4 kB / 399.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002398/0.02223, allocations: 201.6 kB / 399.4 MB, free: 10.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02223, allocations: 0 / 399.4 MB, free: 10.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003335/0.02256, allocations: 43.89 kB / 399.4 MB, free: 10.13 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.002073/0.02463, allocations: 431.6 kB / 399.8 MB, free: 9.863 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003834/0.02502, allocations: 75.91 kB / 399.9 MB, free: 9.789 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.02502, allocations: 0 / 399.9 MB, free: 9.789 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.02516, allocations: 52 kB / 400 MB, free: 9.738 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.02559, allocations: 47.03 kB / 400 MB, free: 9.699 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.02673, allocations: 412.1 kB / 400.4 MB, free: 9.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.02691, allocations: 132.8 kB / 400.5 MB, free: 9.121 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.02702, allocations: 17.47 kB / 400.6 MB, free: 9.102 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.075e-05/0.02708, allocations: 24.48 kB / 400.6 MB, free: 9.078 MB / 330.7 MB Notification: Performance of SimCode: time 1.563e-06/0.02708, allocations: 0 / 400.6 MB, free: 9.078 MB / 330.7 MB Notification: Performance of Templates: time 0.007402/0.03448, allocations: 2.146 MB / 402.7 MB, free: 6.961 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=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.398592920042574]