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.0008963/0.0008963, allocations: 80.89 kB / 19.94 MB, free: 4.551 MB / 18.57 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 0.9848/0.9848, allocations: 177.2 MB / 200.3 MB, free: 5.379 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.001769/0.001769, allocations: 164.3 kB / 257 MB, free: 12.82 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.02493/0.02493, allocations: 6.659 MB / 266.9 MB, free: 3.074 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.423e-06/1.423e-06, allocations: 0 / 285.7 MB, free: 324 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.379e-05, allocations: 13.41 kB / 285.7 MB, free: 312 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Tables): time 0.1226/0.1227, allocations: 2.227 MB / 287.9 MB, free: 21.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001552/0.1242, allocations: 1.083 MB / 289 MB, free: 20.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.1244, allocations: 2.281 kB / 289 MB, free: 20.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.1247, allocations: 115.2 kB / 289.1 MB, free: 20.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.1251, allocations: 140.8 kB / 289.2 MB, free: 20.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.1254, allocations: 106.2 kB / 289.3 MB, free: 20.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.1257, allocations: 229.5 kB / 289.6 MB, free: 20.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.1259, allocations: 42.34 kB / 289.6 MB, free: 20.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.1261, allocations: 123.8 kB / 289.7 MB, free: 20.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.1262, allocations: 84.53 kB / 289.8 MB, free: 20.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.1262, allocations: 19.16 kB / 289.8 MB, free: 20.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1263, allocations: 56.91 kB / 289.9 MB, free: 20.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.056e-05/0.1264, allocations: 43.8 kB / 289.9 MB, free: 20.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.1265, allocations: 56.19 kB / 290 MB, free: 20.37 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002805/0.1267, allocations: 186.5 kB / 290.2 MB, free: 20.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.1268, allocations: 1.031 kB / 290.2 MB, free: 20.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1268, allocations: 1.062 kB / 290.2 MB, free: 20.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.1268, allocations: 0 / 290.2 MB, free: 20.29 MB / 266.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.0004773/0.1272, allocations: 423.4 kB / 290.6 MB, free: 19.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1273, allocations: 10.41 kB / 290.6 MB, free: 19.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.1273, allocations: 24.92 kB / 290.6 MB, free: 19.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.1275, allocations: 174.8 kB / 290.8 MB, free: 19.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.1275, allocations: 10.22 kB / 290.8 MB, free: 19.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.1276, allocations: 9.594 kB / 290.8 MB, free: 19.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.1277, allocations: 134 kB / 290.9 MB, free: 19.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1277, allocations: 5.906 kB / 290.9 MB, free: 19.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.1277, allocations: 5.125 kB / 291 MB, free: 19.67 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.1278, allocations: 4.75 kB / 291 MB, free: 19.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.403e-05/0.1278, allocations: 31.84 kB / 291 MB, free: 19.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.1282, allocations: 365.2 kB / 291.3 MB, free: 19.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.1285, allocations: 119.3 kB / 291.5 MB, free: 19.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.1285, allocations: 22.55 kB / 291.5 MB, free: 19.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.1285, allocations: 1.406 kB / 291.5 MB, free: 19.29 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/0.1286, allocations: 114.3 kB / 291.6 MB, free: 19.19 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.1286, allocations: 0 / 291.6 MB, free: 19.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001483/0.1288, allocations: 92.38 kB / 291.7 MB, free: 19.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.1288, allocations: 80.11 kB / 291.8 MB, free: 19.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.1289, allocations: 228.4 kB / 292 MB, free: 18.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.1289, allocations: 27.58 kB / 292 MB, free: 18.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.129, allocations: 128.4 kB / 292.1 MB, free: 18.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.129, allocations: 33.5 kB / 292.2 MB, free: 18.72 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.129, allocations: 37.09 kB / 292.2 MB, free: 18.69 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.756e-05/0.1291, allocations: 330 kB / 292.5 MB, free: 18.37 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.508e-05/0.1291, allocations: 13.2 kB / 292.5 MB, free: 18.37 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.181e-05/0.1292, allocations: 75.67 kB / 292.6 MB, free: 18.29 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.563e-05/0.1292, allocations: 62.97 kB / 292.7 MB, free: 18.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1292, allocations: 5.188 kB / 292.7 MB, free: 18.24 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001143/0.1293, allocations: 86.28 kB / 292.8 MB, free: 18.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1293, allocations: 7.406 kB / 292.8 MB, free: 18.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1294, allocations: 6.203 kB / 292.8 MB, free: 18.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1294, allocations: 1.781 kB / 292.8 MB, free: 18.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1295, allocations: 34.5 kB / 292.8 MB, free: 18.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.1295, allocations: 3.062 kB / 292.8 MB, free: 18.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.958e-05/0.1295, allocations: 16.48 kB / 292.8 MB, free: 18.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.1295, allocations: 8.672 kB / 292.8 MB, free: 18.18 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 5.652e-05/0.1296, allocations: 119.7 kB / 293 MB, free: 18.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.1296, allocations: 19.44 kB / 293 MB, free: 18.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.1297, allocations: 88.03 kB / 293.1 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1297, allocations: 2.688 kB / 293.1 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.1297, allocations: 1.312 kB / 293.1 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1297, allocations: 1.703 kB / 293.1 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.1299, allocations: 111 kB / 293.2 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1299, allocations: 3.375 kB / 293.2 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.196e-05/0.1299, allocations: 21.52 kB / 293.2 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1299, allocations: 3.016 kB / 293.2 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.13, allocations: 1.25 kB / 293.2 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.13, allocations: 5.984 kB / 293.2 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.13, allocations: 0.9062 kB / 293.2 MB, free: 17.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.1301, allocations: 124.3 kB / 293.3 MB, free: 17.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.871e-05/0.1301, allocations: 26.47 kB / 293.4 MB, free: 17.81 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.1301, allocations: 5.938 kB / 293.4 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.951e-05/0.1302, allocations: 9.703 kB / 293.4 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.1302, allocations: 7.203 kB / 293.4 MB, free: 17.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.1302, allocations: 2.703 kB / 293.4 MB, free: 17.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.587e-05/0.1303, allocations: 83.2 kB / 293.5 MB, free: 17.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1303, allocations: 1.188 kB / 293.5 MB, free: 17.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001575/0.1305, allocations: 42.7 kB / 293.5 MB, free: 17.76 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.001097/0.1316, allocations: 0.5103 MB / 294 MB, free: 17.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001188/0.1317, allocations: 57.55 kB / 294.1 MB, free: 17.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.1317, allocations: 3.625 kB / 294.1 MB, free: 17.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.77e-05/0.1317, allocations: 29 kB / 294.1 MB, free: 17.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.1319, allocations: 35.42 kB / 294.1 MB, free: 17.62 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006447/0.1325, allocations: 397.9 kB / 294.5 MB, free: 17.35 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.87e-05/0.1326, allocations: 86.05 kB / 294.6 MB, free: 17.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.437e-05/0.1326, allocations: 22.25 kB / 294.6 MB, free: 17.26 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.899e-05/0.1327, allocations: 76.27 kB / 294.7 MB, free: 17.21 MB / 266.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1327, allocations: 0 / 294.7 MB, free: 17.21 MB / 266.7 MB Notification: Performance of Templates: time 0.004843/0.1375, allocations: 2.378 MB / 297.1 MB, free: 16.75 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Tables.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.769997132010758]