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.001831/0.001831, allocations: 89.48 kB / 19.44 MB, free: 336 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.595/1.595, allocations: 177.2 MB / 199.7 MB, free: 5.816 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.002067/0.002067, allocations: 163.2 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.04191/0.04191, allocations: 6.66 MB / 319.4 MB, free: 26.57 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.973e-06/1.973e-06, allocations: 0 / 390.9 MB, free: 2.973 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.277e-05/3.475e-05, allocations: 2.312 kB / 390.9 MB, free: 2.969 MB / 314.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.004644/0.004679, allocations: 2.184 MB / 393.1 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002263/0.006942, allocations: 1.064 MB / 394.2 MB, free: 15.7 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.007068, allocations: 7.938 kB / 394.2 MB, free: 15.69 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004428/0.007511, allocations: 103.5 kB / 394.3 MB, free: 15.59 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004729/0.007984, allocations: 147.2 kB / 394.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.008266, allocations: 103.6 kB / 394.5 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003482/0.008615, allocations: 231.1 kB / 394.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.008767, allocations: 41.58 kB / 394.8 MB, free: 15.08 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.008972, allocations: 135.7 kB / 394.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.009167, allocations: 91.77 kB / 395 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.009205, allocations: 12 kB / 395 MB, free: 14.84 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.009339, allocations: 55.91 kB / 395.1 MB, free: 14.79 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.001e-05/0.009429, allocations: 47.83 kB / 395.1 MB, free: 14.74 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.009545, allocations: 51.8 kB / 395.2 MB, free: 14.69 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004169/0.009962, allocations: 239.2 kB / 395.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.009966, allocations: 0 / 395.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.009967, allocations: 0 / 395.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.009973, allocations: 0 / 395.4 MB, free: 14.46 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.0009471/0.01092, allocations: 0.55 MB / 396 MB, free: 13.87 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.01096, allocations: 12.03 kB / 396 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.661e-05/0.01106, allocations: 36.75 kB / 396 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.01138, allocations: 180.2 kB / 396.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.0114, allocations: 12.61 kB / 396.2 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.01145, allocations: 16.31 kB / 396.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.01175, allocations: 145.7 kB / 396.3 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.01177, allocations: 7.938 kB / 396.4 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.769e-05/0.01178, allocations: 8 kB / 396.4 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.01179, allocations: 4 kB / 396.4 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.01197, allocations: 64.67 kB / 396.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009766/0.01294, allocations: 0.5486 MB / 397 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.01333, allocations: 111.1 kB / 397.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.01344, allocations: 35.67 kB / 397.1 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.01346, allocations: 4 kB / 397.1 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/0.01372, allocations: 146 kB / 397.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.01372, allocations: 0 / 397.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003916/0.01411, allocations: 141.5 kB / 397.4 MB, free: 12.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.022e-05/0.01418, allocations: 77.11 kB / 397.5 MB, free: 12.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.01452, allocations: 306.7 kB / 397.8 MB, free: 11.87 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.01455, allocations: 25.7 kB / 397.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.01471, allocations: 199 kB / 398 MB, free: 11.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.333e-05/0.01475, allocations: 35.7 kB / 398 MB, free: 11.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.079e-05/0.01482, allocations: 39.36 kB / 398.1 MB, free: 11.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002988/0.01512, allocations: 0.5079 MB / 398.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.317e-05/0.0152, allocations: 27.98 kB / 398.6 MB, free: 11 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.01535, allocations: 108.1 kB / 398.7 MB, free: 10.87 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.01553, allocations: 94.69 kB / 398.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01553, allocations: 0 / 398.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002849/0.01582, allocations: 141.3 kB / 398.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.01584, allocations: 8 kB / 399 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.01584, allocations: 128 / 399 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.01587, allocations: 7.984 kB / 399 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.01598, allocations: 24 kB / 399 MB, free: 10.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.01599, allocations: 4 kB / 399 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-05/0.01608, allocations: 15.88 kB / 399 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.01609, allocations: 4 kB / 399 MB, free: 10.55 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.0001822/0.01627, allocations: 180.5 kB / 399.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.01631, allocations: 23.8 kB / 399.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003079/0.01662, allocations: 135 kB / 399.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.01662, allocations: 0 / 399.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.01663, allocations: 4 kB / 399.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01663, allocations: 0 / 399.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.01689, allocations: 208.4 kB / 399.5 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01689, allocations: 0 / 399.5 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.47e-05/0.01698, allocations: 20 kB / 399.6 MB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.01698, allocations: 0 / 399.6 MB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.017, allocations: 7.922 kB / 399.6 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.017, allocations: 0 / 399.6 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01701, allocations: 0 / 399.6 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006838/0.01769, allocations: 204.4 kB / 399.8 MB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.01772, allocations: 15.91 kB / 399.8 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.01776, allocations: 11.97 kB / 399.8 MB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.674e-05/0.01783, allocations: 7.984 kB / 399.8 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.01788, allocations: 11.92 kB / 399.8 MB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.0179, allocations: 4 kB / 399.8 MB, free: 9.66 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002264/0.01812, allocations: 213.5 kB / 400 MB, free: 9.453 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01812, allocations: 0 / 400 MB, free: 9.453 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002605/0.01838, allocations: 47.88 kB / 400.1 MB, free: 9.406 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.002924/0.02131, allocations: 434.6 kB / 400.5 MB, free: 9.148 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000277/0.02158, allocations: 87.59 kB / 400.6 MB, free: 9.059 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.02159, allocations: 0 / 400.6 MB, free: 9.059 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.0217, allocations: 47.77 kB / 400.6 MB, free: 9.008 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.02204, allocations: 40.47 kB / 400.7 MB, free: 8.969 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009808/0.02302, allocations: 385.8 kB / 401.1 MB, free: 8.562 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.02318, allocations: 124.8 kB / 401.2 MB, free: 8.422 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.545e-05/0.02325, allocations: 21.47 kB / 401.2 MB, free: 8.402 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.813e-05/0.0233, allocations: 20.5 kB / 401.2 MB, free: 8.379 MB / 330.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0233, allocations: 3.938 kB / 401.2 MB, free: 8.375 MB / 330.7 MB Notification: Performance of Templates: time 0.006612/0.02991, allocations: 2.15 MB / 403.4 MB, free: 6.25 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: 4.903372613014653]