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.001164/0.001164, allocations: 114.8 kB / 17.75 MB, free: 5.355 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.001306/0.001306, allocations: 184.5 kB / 18.67 MB, free: 4.441 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.412/1.412, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2807/0.2807, allocations: 48.84 MB / 320.7 MB, free: 11.01 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.001405/0.001405, allocations: 67.89 kB / 451.2 MB, free: 8.566 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1056, allocations: 59.16 MB / 0.4984 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.00334/0.109, allocations: 2.066 MB / 0.5004 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.1101, allocations: 0.6086 MB / 0.501 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.1103, allocations: 0 / 0.501 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.1105, allocations: 27.72 kB / 0.501 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002808/0.1108, allocations: 63.47 kB / 0.5011 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.111, allocations: 35.95 kB / 0.5011 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.1113, allocations: 215 kB / 0.5013 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.1114, allocations: 48.2 kB / 0.5014 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.1116, allocations: 87.58 kB / 0.5014 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.1118, allocations: 75.62 kB / 0.5015 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.225e-05/0.1118, allocations: 16 kB / 0.5015 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.914e-05/0.1119, allocations: 16 kB / 0.5015 GB, free: 10 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.684e-05/0.1119, allocations: 35.83 kB / 0.5016 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.764e-05/0.112, allocations: 91.48 kB / 0.5017 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.1123, allocations: 163.3 kB / 0.5018 GB, free: 9.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1123, allocations: 4 kB / 0.5018 GB, free: 9.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1123, allocations: 0 / 0.5018 GB, free: 9.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.1123, allocations: 0 / 0.5018 GB, free: 9.715 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.0007649/0.1131, allocations: 490.5 kB / 0.5023 GB, free: 9.188 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1131, allocations: 19.89 kB / 0.5023 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.1133, allocations: 20.66 kB / 0.5023 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.1136, allocations: 248.8 kB / 0.5026 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1137, allocations: 8.375 kB / 0.5026 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.1137, allocations: 16.31 kB / 0.5026 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.1139, allocations: 133.2 kB / 0.5027 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.114, allocations: 3.938 kB / 0.5027 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.114, allocations: 8 kB / 0.5027 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.114, allocations: 4 kB / 0.5027 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.1142, allocations: 79.88 kB / 0.5028 GB, free: 8.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007708/0.115, allocations: 0.5527 MB / 0.5034 GB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.1152, allocations: 106.5 kB / 0.5035 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.735e-05/0.1153, allocations: 44.84 kB / 0.5035 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.1154, allocations: 0 / 0.5035 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.1154, allocations: 34.56 kB / 0.5035 GB, free: 7.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.1154, allocations: 0 / 0.5035 GB, free: 7.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008303/0.1162, allocations: 458.2 kB / 0.504 GB, free: 7.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/0.1163, allocations: 51.41 kB / 0.504 GB, free: 7.227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.1165, allocations: 221 kB / 0.5042 GB, free: 7.004 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1165, allocations: 29.7 kB / 0.5043 GB, free: 6.969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/0.1166, allocations: 124.3 kB / 0.5044 GB, free: 6.844 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.1167, allocations: 47.3 kB / 0.5044 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/0.1167, allocations: 33.72 kB / 0.5045 GB, free: 6.758 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1168, allocations: 330.8 kB / 0.5048 GB, free: 6.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.869e-05/0.1169, allocations: 27.98 kB / 0.5048 GB, free: 6.398 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-05/0.117, allocations: 62.48 kB / 0.5049 GB, free: 6.328 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.1172, allocations: 94.5 kB / 0.5049 GB, free: 6.227 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1172, allocations: 0 / 0.5049 GB, free: 6.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002508/0.1175, allocations: 149.3 kB / 0.5051 GB, free: 6.074 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1175, allocations: 11.84 kB / 0.5051 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1175, allocations: 4 kB / 0.5051 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1175, allocations: 4 kB / 0.5051 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.1177, allocations: 39.91 kB / 0.5051 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1177, allocations: 0 / 0.5051 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.1178, allocations: 8.062 kB / 0.5052 GB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.1178, allocations: 8 kB / 0.5052 GB, free: 6 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 9.482e-05/0.1179, allocations: 125.8 kB / 0.5053 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.118, allocations: 19.75 kB / 0.5053 GB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.278e-05/0.118, allocations: 21.7 kB / 0.5053 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.118, allocations: 3.938 kB / 0.5053 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1181, allocations: 0 / 0.5053 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.1181, allocations: 4 kB / 0.5053 GB, free: 5.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005044/0.1186, allocations: 446.3 kB / 0.5058 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1186, allocations: 0 / 0.5058 GB, free: 5.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.1187, allocations: 31.92 kB / 0.5058 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1188, allocations: 3.938 kB / 0.5058 GB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1188, allocations: 4 kB / 0.5058 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1188, allocations: 0 / 0.5058 GB, free: 5.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1188, allocations: 4 kB / 0.5058 GB, free: 5.277 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.1191, allocations: 259.2 kB / 0.506 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.54e-05/0.1192, allocations: 101 kB / 0.5061 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.1193, allocations: 0 / 0.5061 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.1194, allocations: 8 kB / 0.5061 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.1194, allocations: 7.984 kB / 0.5062 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.1194, allocations: 0 / 0.5062 GB, free: 4.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.1196, allocations: 176.4 kB / 0.5063 GB, free: 4.703 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1196, allocations: 0 / 0.5063 GB, free: 4.703 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.1199, allocations: 32 kB / 0.5064 GB, free: 4.672 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 0.0001047/0.12, allocations: 103.1 kB / 0.5064 GB, free: 4.562 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.1202, allocations: 87.89 kB / 0.5065 GB, free: 4.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.1202, allocations: 4 kB / 0.5065 GB, free: 4.473 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.835e-05/0.1203, allocations: 35.98 kB / 0.5066 GB, free: 4.438 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.1207, allocations: 32.66 kB / 0.5066 GB, free: 4.406 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009427/0.1217, allocations: 0.5358 MB / 0.5071 GB, free: 3.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.1219, allocations: 0.7241 MB / 0.5078 GB, free: 3.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.256e-05/0.122, allocations: 15.44 kB / 0.5078 GB, free: 3.074 MB / 398.1 MB Notification: Performance of SimCode: time 2.485e-06/0.122, allocations: 0 / 0.5078 GB, free: 3.074 MB / 398.1 MB Notification: Performance of Templates: time 0.003917/0.1259, allocations: 2.011 MB / 0.5098 GB, free: 1.062 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)