Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001546/0.001546, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.1 MB / 223.1 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009044/0.0009045, allocations: 105.5 kB / 270.5 MB, free: 8.445 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3571/0.3571, allocations: 48.84 MB / 366.7 MB, free: 46.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 52.06 kB / 436.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09464/0.09567, allocations: 59.15 MB / 495.8 MB, free: 156 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.003197/0.09891, allocations: 2.449 MB / 498.2 MB, free: 13.69 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.09991, allocations: 0.6707 MB / 498.9 MB, free: 13.01 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1, allocations: 8 kB / 498.9 MB, free: 13 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001312/0.1002, allocations: 27.78 kB / 498.9 MB, free: 12.97 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.1004, allocations: 63.47 kB / 499 MB, free: 12.91 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001254/0.1005, allocations: 51.94 kB / 499 MB, free: 12.86 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.1008, allocations: 274.8 kB / 499.3 MB, free: 12.59 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.1009, allocations: 60.88 kB / 499.3 MB, free: 12.53 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.1011, allocations: 111.5 kB / 499.5 MB, free: 12.42 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.1012, allocations: 115.3 kB / 499.6 MB, free: 12.3 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.1013, allocations: 12 kB / 499.6 MB, free: 12.29 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.936e-05/0.1014, allocations: 16 kB / 499.6 MB, free: 12.28 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.1014, allocations: 35.84 kB / 499.6 MB, free: 12.24 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.1015, allocations: 127.2 kB / 499.8 MB, free: 12.12 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.1018, allocations: 223.3 kB / 500 MB, free: 11.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1018, allocations: 4 kB / 500 MB, free: 11.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1018, allocations: 0 / 500 MB, free: 11.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1018, allocations: 0 / 500 MB, free: 11.89 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008392/0.1026, allocations: 0.5607 MB / 0.4888 GB, free: 11.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.1027, allocations: 8.031 kB / 0.4888 GB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.771e-05/0.1028, allocations: 40.5 kB / 0.4889 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.103, allocations: 262.8 kB / 0.4891 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.059e-05/0.1031, allocations: 38.27 kB / 0.4891 GB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.1031, allocations: 20.38 kB / 0.4892 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.1035, allocations: 190.9 kB / 0.4893 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1035, allocations: 3.984 kB / 0.4893 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.1035, allocations: 4 kB / 0.4894 GB, free: 10.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1035, allocations: 4 kB / 0.4894 GB, free: 10.67 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.1038, allocations: 115.9 kB / 0.4895 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009743/0.1048, allocations: 0.6774 MB / 0.4901 GB, free: 9.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.1051, allocations: 146.6 kB / 0.4903 GB, free: 9.668 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.1053, allocations: 84.81 kB / 0.4903 GB, free: 9.582 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1053, allocations: 3.938 kB / 0.4904 GB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.1054, allocations: 38.56 kB / 0.4904 GB, free: 9.531 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.1054, allocations: 0 / 0.4904 GB, free: 9.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.001052/0.1064, allocations: 0.5717 MB / 0.4909 GB, free: 8.906 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.1065, allocations: 59.36 kB / 0.491 GB, free: 8.836 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.1067, allocations: 233 kB / 0.4912 GB, free: 8.598 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1067, allocations: 33.7 kB / 0.4913 GB, free: 8.559 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.152e-05/0.1068, allocations: 144.3 kB / 0.4914 GB, free: 8.414 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.1069, allocations: 71 kB / 0.4915 GB, free: 8.344 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.325e-05/0.1069, allocations: 45.7 kB / 0.4915 GB, free: 8.293 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.93e-05/0.107, allocations: 334.8 kB / 0.4918 GB, free: 7.957 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.1072, allocations: 63.89 kB / 0.4919 GB, free: 7.895 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.1073, allocations: 79.22 kB / 0.492 GB, free: 7.812 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.1076, allocations: 141.6 kB / 0.4921 GB, free: 7.668 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1076, allocations: 0 / 0.4921 GB, free: 7.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003969/0.108, allocations: 209.1 kB / 0.4923 GB, free: 7.457 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.1081, allocations: 4 kB / 0.4923 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1081, allocations: 0 / 0.4923 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1081, allocations: 0 / 0.4923 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004229/0.1085, allocations: 83.92 kB / 0.4924 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1085, allocations: 0 / 0.4924 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.1087, allocations: 11.98 kB / 0.4924 GB, free: 7.359 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.1087, allocations: 7.984 kB / 0.4924 GB, free: 7.352 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001023/0.1088, allocations: 141.7 kB / 0.4925 GB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.1088, allocations: 23.72 kB / 0.4926 GB, free: 7.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.84e-05/0.1089, allocations: 30.17 kB / 0.4926 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1089, allocations: 4 kB / 0.4926 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.1089, allocations: 4 kB / 0.4926 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1089, allocations: 3.984 kB / 0.4926 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006953/0.1096, allocations: 0.549 MB / 0.4931 GB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1096, allocations: 0 / 0.4931 GB, free: 6.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/0.11, allocations: 63.95 kB / 0.4932 GB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.11, allocations: 4 kB / 0.4932 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1101, allocations: 0 / 0.4932 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1101, allocations: 4 kB / 0.4932 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1101, allocations: 3.938 kB / 0.4932 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002853/0.1129, allocations: 2.005 MB / 0.4952 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.5e-05/0.113, allocations: 108.8 kB / 0.4953 GB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.1131, allocations: 4 kB / 0.4953 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.1132, allocations: 11.98 kB / 0.4953 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/0.1133, allocations: 11.98 kB / 0.4953 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.1133, allocations: 0 / 0.4953 GB, free: 4.164 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001445/0.1135, allocations: 180.5 kB / 0.4955 GB, free: 3.988 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1135, allocations: 0 / 0.4955 GB, free: 3.988 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003656/0.1138, allocations: 68 kB / 0.4955 GB, free: 3.922 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 8.659e-05/0.1139, allocations: 107.2 kB / 0.4956 GB, free: 3.805 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003286/0.1143, allocations: 139.9 kB / 0.4958 GB, free: 3.668 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1143, allocations: 0 / 0.4958 GB, free: 3.668 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.1144, allocations: 75.97 kB / 0.4958 GB, free: 3.594 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.1148, allocations: 40.34 kB / 0.4959 GB, free: 3.555 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.1161, allocations: 0.9101 MB / 0.4968 GB, free: 2.609 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.1164, allocations: 0.7524 MB / 0.4975 GB, free: 1.828 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.1165, allocations: 25.92 kB / 0.4975 GB, free: 1.805 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.453e-05/0.1165, allocations: 27.38 kB / 0.4976 GB, free: 1.777 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1165, allocations: 0 / 0.4976 GB, free: 1.777 MB / 394.7 MB Notification: Performance of Templates: time 0.1579/0.2744, allocations: 2.338 MB / 0.4998 GB, free: 58.16 MB / 394.7 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1)