Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.TablesFromFile.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.001317/0.001317, allocations: 80.94 kB / 19.94 MB, free: 4.547 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 1.036/1.036, allocations: 177.1 MB / 200.3 MB, free: 5.324 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.001206/0.001206, allocations: 167.2 kB / 257 MB, free: 12.79 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.02584/0.02584, allocations: 6.657 MB / 266.9 MB, free: 3.031 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.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") translateModel(HanserModelica.Electrical.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 285.7 MB, free: 272 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235e-05/1.357e-05, allocations: 6.25 kB / 285.7 MB, free: 264 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.1168/0.1168, allocations: 2.245 MB / 287.9 MB, free: 21.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.119, allocations: 1.827 MB / 289.8 MB, free: 20.2 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.1191, allocations: 2.781 kB / 289.8 MB, free: 20.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000344/0.1194, allocations: 102.7 kB / 289.9 MB, free: 20.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003753/0.1198, allocations: 152.5 kB / 290 MB, free: 20.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.1201, allocations: 106.5 kB / 290.1 MB, free: 20.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.1204, allocations: 237.5 kB / 290.3 MB, free: 19.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.1205, allocations: 38.39 kB / 290.4 MB, free: 19.9 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.1207, allocations: 130.8 kB / 290.5 MB, free: 19.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.1209, allocations: 93.53 kB / 290.6 MB, free: 19.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.082e-05/0.1209, allocations: 14.88 kB / 290.6 MB, free: 19.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.1211, allocations: 121 kB / 290.7 MB, free: 19.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.619e-05/0.1212, allocations: 57.19 kB / 290.8 MB, free: 19.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.977e-05/0.1213, allocations: 55.14 kB / 290.8 MB, free: 19.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.1216, allocations: 240.6 kB / 291.1 MB, free: 19.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1216, allocations: 0 / 291.1 MB, free: 19.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1216, allocations: 2.125 kB / 291.1 MB, free: 19.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1216, allocations: 0.8438 kB / 291.1 MB, free: 19.64 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.0005269/0.1221, allocations: 453.2 kB / 291.5 MB, free: 19.27 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1222, allocations: 12.02 kB / 291.5 MB, free: 19.27 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.99e-05/0.1222, allocations: 25.47 kB / 291.6 MB, free: 19.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.1224, allocations: 172.4 kB / 291.7 MB, free: 19.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1225, allocations: 9.047 kB / 291.7 MB, free: 19.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.1225, allocations: 14.36 kB / 291.8 MB, free: 19.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.1227, allocations: 188.9 kB / 291.9 MB, free: 18.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.1227, allocations: 5 kB / 291.9 MB, free: 18.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1227, allocations: 5.062 kB / 291.9 MB, free: 18.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.1227, allocations: 4.016 kB / 291.9 MB, free: 18.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.788e-05/0.1228, allocations: 30.67 kB / 292 MB, free: 18.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.1233, allocations: 376.9 kB / 292.3 MB, free: 18.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.1235, allocations: 114 kB / 292.5 MB, free: 18.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/0.1235, allocations: 26.64 kB / 292.5 MB, free: 18.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.1235, allocations: 3.672 kB / 292.5 MB, free: 18.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.1237, allocations: 117.1 kB / 292.6 MB, free: 18.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.1237, allocations: 3.219 kB / 292.6 MB, free: 18.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001776/0.1239, allocations: 86.75 kB / 292.7 MB, free: 18.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.1239, allocations: 105.8 kB / 292.8 MB, free: 18.28 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.1241, allocations: 222.9 kB / 293 MB, free: 18.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1241, allocations: 29.02 kB / 293 MB, free: 18.1 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.588e-05/0.1242, allocations: 127.2 kB / 293.2 MB, free: 17.99 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.1242, allocations: 39.83 kB / 293.2 MB, free: 17.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.1242, allocations: 29.91 kB / 293.2 MB, free: 17.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.588e-05/0.1243, allocations: 330.2 kB / 293.6 MB, free: 17.61 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.103e-05/0.1243, allocations: 15.23 kB / 293.6 MB, free: 17.61 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.884e-05/0.1244, allocations: 109 kB / 293.7 MB, free: 17.49 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.046e-05/0.1245, allocations: 63.03 kB / 293.7 MB, free: 17.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1245, allocations: 1.719 kB / 293.7 MB, free: 17.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001564/0.1246, allocations: 94.92 kB / 293.8 MB, free: 17.4 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.1247, allocations: 6.156 kB / 293.8 MB, free: 17.4 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.1247, allocations: 5.938 kB / 293.8 MB, free: 17.4 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1247, allocations: 2.094 kB / 293.8 MB, free: 17.4 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1248, allocations: 26.72 kB / 293.9 MB, free: 17.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.1248, allocations: 4.672 kB / 293.9 MB, free: 17.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.937e-05/0.1249, allocations: 15.89 kB / 293.9 MB, free: 17.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.1249, allocations: 7.984 kB / 293.9 MB, free: 17.39 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 6.202e-05/0.125, allocations: 124.4 kB / 294 MB, free: 17.26 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.125, allocations: 13.42 kB / 294 MB, free: 17.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.1251, allocations: 92.66 kB / 294.1 MB, free: 17.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1251, allocations: 1.25 kB / 294.1 MB, free: 17.21 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.1251, allocations: 4.734 kB / 294.1 MB, free: 17.21 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1251, allocations: 1.766 kB / 294.1 MB, free: 17.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.1252, allocations: 116 kB / 294.2 MB, free: 17.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1252, allocations: 0.75 kB / 294.2 MB, free: 17.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.489e-05/0.1253, allocations: 23.91 kB / 294.3 MB, free: 17.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1253, allocations: 0.5156 kB / 294.3 MB, free: 17.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.1253, allocations: 2.234 kB / 294.3 MB, free: 17.11 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1253, allocations: 8.531 kB / 294.3 MB, free: 17.11 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1253, allocations: 0.5156 kB / 294.3 MB, free: 17.11 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.1255, allocations: 120.5 kB / 294.4 MB, free: 17.03 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.1255, allocations: 23.42 kB / 294.4 MB, free: 17.01 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.1255, allocations: 2.875 kB / 294.4 MB, free: 17.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.104e-05/0.1255, allocations: 9.297 kB / 294.4 MB, free: 17.01 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.1256, allocations: 12.11 kB / 294.4 MB, free: 17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.1256, allocations: 2.969 kB / 294.4 MB, free: 17 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.677e-05/0.1257, allocations: 84.78 kB / 294.5 MB, free: 16.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1257, allocations: 6.875 kB / 294.5 MB, free: 16.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001927/0.1259, allocations: 67.75 kB / 294.6 MB, free: 16.95 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.001297/0.1272, allocations: 0.643 MB / 295.2 MB, free: 16.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.1273, allocations: 53.06 kB / 295.3 MB, free: 16.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.1273, allocations: 2.312 kB / 295.3 MB, free: 16.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.352e-05/0.1273, allocations: 32.95 kB / 295.3 MB, free: 16.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001651/0.1275, allocations: 38.03 kB / 295.4 MB, free: 16.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006807/0.1282, allocations: 391 kB / 295.8 MB, free: 16.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.044e-05/0.1282, allocations: 82 kB / 295.8 MB, free: 16.42 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.732e-05/0.1283, allocations: 23.5 kB / 295.9 MB, free: 16.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.891e-05/0.1284, allocations: 85.53 kB / 295.9 MB, free: 16.36 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.1284, allocations: 0 / 295.9 MB, free: 16.36 MB / 266.7 MB Notification: Performance of Templates: time 0.0053/0.1337, allocations: 3.16 MB / 299.1 MB, free: 15.28 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Electrical.TablesFromFile.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe >> ../files/HanserModelica_HanserModelica.Electrical.TablesFromFile.sim & ./HanserModelica_HanserModelica.Electrical.TablesFromFile -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7830854384228587]