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.00154/0.00154, allocations: 107.6 kB / 17.06 MB, free: 5.824 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.001658/0.001658, allocations: 192 kB / 18 MB, free: 4.977 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.339/1.339, allocations: 205.1 MB / 223.9 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.2648/0.2648, allocations: 48.84 MB / 320.1 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.001515/0.001515, allocations: 67.91 kB / 450.5 MB, free: 8.578 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09828/0.0998, allocations: 59.16 MB / 0.4977 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.003082/0.1029, allocations: 2.059 MB / 0.4997 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.104, allocations: 0.6086 MB / 0.5003 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.893e-05/0.1041, allocations: 7.938 kB / 0.5003 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.1042, allocations: 23.72 kB / 0.5004 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.1044, allocations: 67.47 kB / 0.5004 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.1046, allocations: 35.95 kB / 0.5005 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.1048, allocations: 207 kB / 0.5007 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.105, allocations: 52.25 kB / 0.5007 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.1051, allocations: 87.58 kB / 0.5008 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.1052, allocations: 83.56 kB / 0.5009 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.1053, allocations: 12 kB / 0.5009 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.274e-05/0.1053, allocations: 16 kB / 0.5009 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.1054, allocations: 35.84 kB / 0.5009 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.023e-05/0.1055, allocations: 87.47 kB / 0.501 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.1057, allocations: 171.2 kB / 0.5012 GB, free: 9.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1057, allocations: 4 kB / 0.5012 GB, free: 9.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1057, allocations: 0 / 0.5012 GB, free: 9.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1057, allocations: 0 / 0.5012 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.0007183/0.1064, allocations: 494.5 kB / 0.5017 GB, free: 9.184 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.1065, allocations: 11.89 kB / 0.5017 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.983e-05/0.1066, allocations: 24.66 kB / 0.5017 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.1069, allocations: 252.8 kB / 0.5019 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1069, allocations: 4.375 kB / 0.5019 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.1069, allocations: 12.38 kB / 0.5019 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002434/0.1072, allocations: 133.2 kB / 0.5021 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1072, allocations: 0 / 0.5021 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1072, allocations: 7.938 kB / 0.5021 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1072, allocations: 0 / 0.5021 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.1074, allocations: 83.89 kB / 0.5022 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007447/0.1082, allocations: 0.5566 MB / 0.5027 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.1085, allocations: 102.6 kB / 0.5028 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.43e-05/0.1086, allocations: 48.78 kB / 0.5028 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.1086, allocations: 0 / 0.5028 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.1086, allocations: 38.56 kB / 0.5029 GB, free: 7.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.1086, allocations: 0 / 0.5029 GB, free: 7.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007948/0.1094, allocations: 454.2 kB / 0.5033 GB, free: 7.293 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.1095, allocations: 55.39 kB / 0.5034 GB, free: 7.227 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.1097, allocations: 221 kB / 0.5036 GB, free: 7.004 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.1097, allocations: 25.7 kB / 0.5036 GB, free: 6.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.77e-05/0.1098, allocations: 132.3 kB / 0.5037 GB, free: 6.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.1099, allocations: 43.3 kB / 0.5038 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.1099, allocations: 25.72 kB / 0.5038 GB, free: 6.766 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.11, allocations: 330.8 kB / 0.5041 GB, free: 6.434 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.446e-05/0.1101, allocations: 39.98 kB / 0.5041 GB, free: 6.395 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.765e-05/0.1102, allocations: 50.56 kB / 0.5042 GB, free: 6.336 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.1104, allocations: 98.42 kB / 0.5043 GB, free: 6.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1104, allocations: 8 kB / 0.5043 GB, free: 6.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002407/0.1107, allocations: 141.3 kB / 0.5044 GB, free: 6.078 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1107, allocations: 15.84 kB / 0.5044 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.1107, allocations: 0 / 0.5044 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1107, allocations: 0 / 0.5044 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.1109, allocations: 39.92 kB / 0.5045 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1109, allocations: 4 kB / 0.5045 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.111, allocations: 3.984 kB / 0.5045 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.1111, allocations: 7.938 kB / 0.5045 GB, free: 6.008 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.409e-05/0.1112, allocations: 133.8 kB / 0.5046 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.1112, allocations: 19.75 kB / 0.5046 GB, free: 5.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.806e-05/0.1113, allocations: 21.7 kB / 0.5047 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.1113, allocations: 4 kB / 0.5047 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1113, allocations: 0 / 0.5047 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1113, allocations: 0 / 0.5047 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005293/0.1118, allocations: 446.3 kB / 0.5051 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1118, allocations: 0 / 0.5051 GB, free: 5.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.112, allocations: 31.98 kB / 0.5051 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.112, allocations: 0 / 0.5051 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.112, allocations: 4 kB / 0.5051 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.112, allocations: 0 / 0.5051 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.112, allocations: 0 / 0.5051 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.1124, allocations: 263.1 kB / 0.5054 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.437e-05/0.1125, allocations: 100.9 kB / 0.5055 GB, free: 4.898 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.1125, allocations: 8 kB / 0.5055 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.1127, allocations: 4 kB / 0.5055 GB, free: 4.887 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.1127, allocations: 7.984 kB / 0.5055 GB, free: 4.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.1127, allocations: 4 kB / 0.5055 GB, free: 4.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001506/0.1129, allocations: 168.5 kB / 0.5057 GB, free: 4.711 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1129, allocations: 3.938 kB / 0.5057 GB, free: 4.707 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.1131, allocations: 28 kB / 0.5057 GB, free: 4.68 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.489e-05/0.1132, allocations: 103.1 kB / 0.5058 GB, free: 4.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.1135, allocations: 87.91 kB / 0.5059 GB, free: 4.484 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1135, allocations: 0 / 0.5059 GB, free: 4.484 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.531e-05/0.1136, allocations: 43.92 kB / 0.5059 GB, free: 4.441 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.1139, allocations: 33.02 kB / 0.506 GB, free: 4.41 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009097/0.1149, allocations: 0.5029 MB / 0.5064 GB, free: 3.883 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.1152, allocations: 0.7319 MB / 0.5072 GB, free: 3.125 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.655e-05/0.1152, allocations: 17.53 kB / 0.5072 GB, free: 3.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/0.1153, allocations: 19.38 kB / 0.5072 GB, free: 3.09 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1153, allocations: 0 / 0.5072 GB, free: 3.09 MB / 398.1 MB Notification: Performance of Templates: time 0.004221/0.1195, allocations: 1.599 MB / 0.5088 GB, free: 1.492 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)