Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 110.9 kB / 17.74 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 192.5 kB / 18.67 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2922/0.2922, allocations: 48.84 MB / 320.7 MB, free: 11.02 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 67.89 kB / 451.2 MB, free: 8.582 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1202, allocations: 59.16 MB / 0.4984 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.004044/0.1243, allocations: 2.074 MB / 0.5004 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.1257, allocations: 0.6008 MB / 0.501 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.1259, allocations: 3.938 kB / 0.501 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001642/0.1261, allocations: 23.73 kB / 0.501 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.1264, allocations: 63.47 kB / 0.5011 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.1266, allocations: 35.95 kB / 0.5011 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003122/0.1269, allocations: 219 kB / 0.5013 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.1271, allocations: 44.27 kB / 0.5014 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.1273, allocations: 87.58 kB / 0.5014 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.1274, allocations: 79.56 kB / 0.5015 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.1275, allocations: 12 kB / 0.5015 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.254e-05/0.1275, allocations: 16 kB / 0.5015 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.128e-05/0.1276, allocations: 39.84 kB / 0.5016 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.1277, allocations: 87.48 kB / 0.5017 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.128, allocations: 163.3 kB / 0.5018 GB, free: 9.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.128, allocations: 0 / 0.5018 GB, free: 9.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.128, allocations: 0 / 0.5018 GB, free: 9.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.128, allocations: 0 / 0.5018 GB, free: 9.73 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008336/0.1289, allocations: 494.5 kB / 0.5023 GB, free: 9.199 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1289, allocations: 15.89 kB / 0.5023 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.129, allocations: 24.66 kB / 0.5023 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.1295, allocations: 252.8 kB / 0.5026 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.1295, allocations: 8.375 kB / 0.5026 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.742e-05/0.1295, allocations: 12.38 kB / 0.5026 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.1298, allocations: 133.2 kB / 0.5027 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.1299, allocations: 7.938 kB / 0.5027 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.1299, allocations: 4 kB / 0.5027 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.1299, allocations: 4 kB / 0.5027 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.1301, allocations: 79.88 kB / 0.5028 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008852/0.131, allocations: 0.5527 MB / 0.5034 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.1313, allocations: 102.6 kB / 0.5035 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.637e-05/0.1314, allocations: 44.78 kB / 0.5035 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.1314, allocations: 4 kB / 0.5035 GB, free: 7.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.1315, allocations: 38.55 kB / 0.5035 GB, free: 7.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 2.064e-06/0.1315, allocations: 0 / 0.5035 GB, free: 7.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.000862/0.1323, allocations: 446.4 kB / 0.504 GB, free: 7.309 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.1324, allocations: 55.41 kB / 0.504 GB, free: 7.242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.1326, allocations: 221 kB / 0.5042 GB, free: 7.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.1326, allocations: 29.69 kB / 0.5043 GB, free: 6.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.609e-05/0.1327, allocations: 124.4 kB / 0.5044 GB, free: 6.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.1328, allocations: 47.28 kB / 0.5044 GB, free: 6.812 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.1328, allocations: 37.7 kB / 0.5045 GB, free: 6.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.133, allocations: 326.8 kB / 0.5048 GB, free: 6.441 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.163e-05/0.1331, allocations: 31.98 kB / 0.5048 GB, free: 6.41 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.727e-05/0.1332, allocations: 58.55 kB / 0.5049 GB, free: 6.344 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.1333, allocations: 98.44 kB / 0.5049 GB, free: 6.238 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1334, allocations: 0 / 0.5049 GB, free: 6.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002575/0.1336, allocations: 141.3 kB / 0.5051 GB, free: 6.094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.1337, allocations: 11.84 kB / 0.5051 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.1337, allocations: 0 / 0.5051 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.1337, allocations: 7.984 kB / 0.5051 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.1338, allocations: 39.92 kB / 0.5051 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1339, allocations: 0 / 0.5051 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.844e-05/0.134, allocations: 8.062 kB / 0.5051 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.134, allocations: 7.984 kB / 0.5052 GB, free: 6.02 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001069/0.1341, allocations: 125.8 kB / 0.5053 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.1341, allocations: 23.75 kB / 0.5053 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.024e-05/0.1342, allocations: 25.7 kB / 0.5053 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1342, allocations: 0 / 0.5053 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1342, allocations: 0 / 0.5053 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1342, allocations: 0 / 0.5053 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005407/0.1348, allocations: 458.3 kB / 0.5058 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1348, allocations: 0 / 0.5058 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.135, allocations: 23.98 kB / 0.5058 GB, free: 5.305 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.135, allocations: 4 kB / 0.5058 GB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.135, allocations: 4 kB / 0.5058 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.135, allocations: 0 / 0.5058 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.135, allocations: 0 / 0.5058 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/0.1354, allocations: 267.1 kB / 0.506 GB, free: 5.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.438e-05/0.1355, allocations: 101 kB / 0.5061 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.1355, allocations: 0 / 0.5061 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.1356, allocations: 4 kB / 0.5061 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.1357, allocations: 7.984 kB / 0.5061 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.1357, allocations: 4 kB / 0.5062 GB, free: 4.887 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001625/0.1358, allocations: 172.4 kB / 0.5063 GB, free: 4.719 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1358, allocations: 0 / 0.5063 GB, free: 4.719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.1361, allocations: 32 kB / 0.5063 GB, free: 4.688 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.omega_e_filt) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 9.576e-05/0.1362, allocations: 103.1 kB / 0.5064 GB, free: 4.578 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002421/0.1365, allocations: 87.89 kB / 0.5065 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1365, allocations: 0 / 0.5065 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.207e-05/0.1366, allocations: 43.92 kB / 0.5066 GB, free: 4.449 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.1369, allocations: 33.03 kB / 0.5066 GB, free: 4.418 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009954/0.1379, allocations: 0.5358 MB / 0.5071 GB, free: 3.852 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.1383, allocations: 0.7202 MB / 0.5078 GB, free: 3.105 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.1383, allocations: 19.44 kB / 0.5078 GB, free: 3.086 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1383, allocations: 0 / 0.5078 GB, free: 3.086 MB / 398.1 MB Notification: Performance of Templates: time 0.004508/0.1429, allocations: 2.041 MB / 0.5098 GB, free: 1.043 MB / 398.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1)