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.001316/0.001316, 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.2 MB / 200.3 MB, free: 4.812 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.001082/0.001082, allocations: 155.5 kB / 257 MB, free: 12.63 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.03701/0.03701, allocations: 6.658 MB / 266.9 MB, free: 2.879 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 5.651e-06/5.651e-06, allocations: 4 kB / 285.6 MB, free: 164 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.635e-05, allocations: 6.312 kB / 285.6 MB, free: 156 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.1211/0.1211, allocations: 2.203 MB / 287.8 MB, free: 21.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.1233, allocations: 1.818 MB / 289.7 MB, free: 20.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.1235, allocations: 6.812 kB / 289.7 MB, free: 20.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003935/0.1239, allocations: 99.05 kB / 289.8 MB, free: 20.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004958/0.1244, allocations: 166.5 kB / 289.9 MB, free: 19.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.1247, allocations: 108.9 kB / 290 MB, free: 19.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.125, allocations: 230.4 kB / 290.3 MB, free: 19.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.1252, allocations: 42.36 kB / 290.3 MB, free: 19.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.1253, allocations: 130.6 kB / 290.4 MB, free: 19.7 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.1255, allocations: 94.42 kB / 290.5 MB, free: 19.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.137e-05/0.1256, allocations: 15.22 kB / 290.5 MB, free: 19.68 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.1258, allocations: 116.2 kB / 290.7 MB, free: 19.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.551e-05/0.1259, allocations: 48.77 kB / 290.7 MB, free: 19.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.656e-05/0.1259, allocations: 63.59 kB / 290.8 MB, free: 19.58 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003655/0.1263, allocations: 239.8 kB / 291 MB, free: 19.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1263, allocations: 0 / 291 MB, free: 19.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1263, allocations: 0.9062 kB / 291 MB, free: 19.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1263, allocations: 1.844 kB / 291 MB, free: 19.48 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.0005426/0.1268, allocations: 446 kB / 291.4 MB, free: 19.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.1269, allocations: 10.86 kB / 291.4 MB, free: 19.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/0.1269, allocations: 24.12 kB / 291.5 MB, free: 19.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.1271, allocations: 181.6 kB / 291.6 MB, free: 18.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1271, allocations: 10.33 kB / 291.7 MB, free: 18.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.1272, allocations: 14.5 kB / 291.7 MB, free: 18.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.1274, allocations: 182.8 kB / 291.9 MB, free: 18.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1274, allocations: 3.938 kB / 291.9 MB, free: 18.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1274, allocations: 7.484 kB / 291.9 MB, free: 18.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1274, allocations: 3.312 kB / 291.9 MB, free: 18.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.654e-05/0.1274, allocations: 36.19 kB / 291.9 MB, free: 18.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000455/0.1279, allocations: 379.6 kB / 292.3 MB, free: 18.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.1281, allocations: 116.4 kB / 292.4 MB, free: 18.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.292e-05/0.1281, allocations: 25.95 kB / 292.4 MB, free: 18.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.1282, allocations: 1.781 kB / 292.4 MB, free: 18.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/0.1283, allocations: 117.5 kB / 292.5 MB, free: 18.29 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.933e-06/0.1283, allocations: 0 / 292.5 MB, free: 18.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001625/0.1284, allocations: 89.39 kB / 292.6 MB, free: 18.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.1285, allocations: 105.4 kB / 292.7 MB, free: 18.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.1286, allocations: 223 kB / 292.9 MB, free: 17.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.1287, allocations: 27.95 kB / 293 MB, free: 17.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.1287, allocations: 128.9 kB / 293.1 MB, free: 17.83 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.1287, allocations: 36.06 kB / 293.1 MB, free: 17.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.1288, allocations: 34.64 kB / 293.2 MB, free: 17.78 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.266e-05/0.1288, allocations: 329.5 kB / 293.5 MB, free: 17.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.554e-05/0.1288, allocations: 13.94 kB / 293.5 MB, free: 17.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-05/0.1289, allocations: 107.8 kB / 293.6 MB, free: 17.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.807e-05/0.1289, allocations: 64.42 kB / 293.7 MB, free: 17.29 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1289, allocations: 0.7812 kB / 293.7 MB, free: 17.29 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001167/0.1291, allocations: 93.27 kB / 293.8 MB, free: 17.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1291, allocations: 5.625 kB / 293.8 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1291, allocations: 8.297 kB / 293.8 MB, free: 17.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1291, allocations: 5.438 kB / 293.8 MB, free: 17.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.157e-05/0.1292, allocations: 27.25 kB / 293.8 MB, free: 17.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.1292, allocations: 3.234 kB / 293.8 MB, free: 17.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.923e-05/0.1292, allocations: 21.2 kB / 293.8 MB, free: 17.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.345e-06/0.1293, allocations: 2.969 kB / 293.8 MB, free: 17.23 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.447e-05/0.1293, allocations: 119.2 kB / 293.9 MB, free: 17.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.1293, allocations: 13.22 kB / 294 MB, free: 17.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.1295, allocations: 98.52 kB / 294 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1295, allocations: 1.094 kB / 294.1 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.1295, allocations: 1.312 kB / 294.1 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1295, allocations: 1.141 kB / 294.1 MB, free: 17.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.1296, allocations: 113 kB / 294.2 MB, free: 16.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1296, allocations: 0 / 294.2 MB, free: 16.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.66e-05/0.1297, allocations: 15.97 kB / 294.2 MB, free: 16.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1297, allocations: 0.6094 kB / 294.2 MB, free: 16.96 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.1297, allocations: 9.234 kB / 294.2 MB, free: 16.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1297, allocations: 1.031 kB / 294.2 MB, free: 16.95 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1297, allocations: 4.5 kB / 294.2 MB, free: 16.95 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.1298, allocations: 125.1 kB / 294.3 MB, free: 16.87 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.406e-05/0.1299, allocations: 18.41 kB / 294.3 MB, free: 16.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.1299, allocations: 1.75 kB / 294.3 MB, free: 16.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.638e-05/0.1299, allocations: 10.81 kB / 294.3 MB, free: 16.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.13, allocations: 11.55 kB / 294.4 MB, free: 16.85 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.13, allocations: 5.219 kB / 294.4 MB, free: 16.85 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001266/0.1301, allocations: 85 kB / 294.4 MB, free: 16.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1301, allocations: 0 / 294.4 MB, free: 16.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002677/0.1304, allocations: 67.89 kB / 294.5 MB, free: 16.8 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.00136/0.1317, allocations: 0.6408 MB / 295.2 MB, free: 16.65 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.1319, allocations: 49.98 kB / 295.2 MB, free: 16.64 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.1319, allocations: 2.5 kB / 295.2 MB, free: 16.64 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.964e-05/0.1319, allocations: 32.69 kB / 295.2 MB, free: 16.62 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.1321, allocations: 40.92 kB / 295.3 MB, free: 16.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000692/0.1328, allocations: 397.5 kB / 295.7 MB, free: 16.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.02e-05/0.1328, allocations: 85.72 kB / 295.7 MB, free: 16.26 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.255e-05/0.1329, allocations: 24.02 kB / 295.8 MB, free: 16.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.045e-05/0.133, allocations: 84.11 kB / 295.9 MB, free: 16.2 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.133, allocations: 1.219 kB / 295.9 MB, free: 16.2 MB / 266.7 MB Notification: Performance of Templates: time 0.005556/0.1385, allocations: 3.115 MB / 299 MB, free: 15.17 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 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.TablesFromFile.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7855810881592333]