Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.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.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001899/0.001899, 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.273/1.273, allocations: 205.1 MB / 223.1 MB, free: 8.469 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.0009362/0.0009362, allocations: 91.86 kB / 270.5 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3521/0.3521, allocations: 48.83 MB / 366.7 MB, free: 46.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00101/0.00101, allocations: 47.92 kB / 436.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09077/0.09179, allocations: 59.16 MB / 495.8 MB, free: 140 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003361/0.09519, allocations: 2.336 MB / 498.1 MB, free: 13.78 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.09627, allocations: 0.6512 MB / 498.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.09646, allocations: 4 kB / 498.7 MB, free: 13.12 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.09661, allocations: 23.8 kB / 498.8 MB, free: 13.09 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.09685, allocations: 55.55 kB / 498.8 MB, free: 13.04 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001366/0.097, allocations: 47.94 kB / 498.9 MB, free: 12.99 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.09726, allocations: 238.9 kB / 499.1 MB, free: 12.76 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.09741, allocations: 56.58 kB / 499.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.09757, allocations: 91.52 kB / 499.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.09772, allocations: 99.53 kB / 499.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.09776, allocations: 8 kB / 499.4 MB, free: 12.51 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.99e-05/0.09782, allocations: 12 kB / 499.4 MB, free: 12.5 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.09787, allocations: 47.66 kB / 499.4 MB, free: 12.45 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.34e-05/0.09797, allocations: 95.47 kB / 499.5 MB, free: 12.36 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.09818, allocations: 187.5 kB / 499.7 MB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.0982, allocations: 4 kB / 499.7 MB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.0982, allocations: 0 / 499.7 MB, free: 12.17 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.09822, allocations: 0 / 499.7 MB, free: 12.17 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007879/0.09901, allocations: 0.5335 MB / 0.4885 GB, free: 11.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.09905, allocations: 8.031 kB / 0.4885 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.483e-05/0.09915, allocations: 28.66 kB / 0.4885 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.09942, allocations: 266.7 kB / 0.4888 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.09945, allocations: 8.375 kB / 0.4888 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.09949, allocations: 20.28 kB / 0.4888 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.09977, allocations: 159.6 kB / 0.489 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.09979, allocations: 0 / 0.489 GB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.09981, allocations: 4 kB / 0.489 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.09982, allocations: 4 kB / 0.489 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/0.1001, allocations: 103.9 kB / 0.4891 GB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008367/0.1009, allocations: 0.5997 MB / 0.4897 GB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.1012, allocations: 126.6 kB / 0.4898 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.1013, allocations: 68.88 kB / 0.4898 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.1013, allocations: 0 / 0.4898 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.1014, allocations: 42.48 kB / 0.4899 GB, free: 10.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 9.92e-07/0.1014, allocations: 4 kB / 0.4899 GB, free: 10.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=18): time 0.001002/0.1024, allocations: 0.5521 MB / 0.4904 GB, free: 9.426 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.1024, allocations: 55.41 kB / 0.4905 GB, free: 9.359 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.1026, allocations: 229 kB / 0.4907 GB, free: 9.121 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.1027, allocations: 29.7 kB / 0.4907 GB, free: 9.086 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.362e-05/0.1028, allocations: 136.4 kB / 0.4909 GB, free: 8.949 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.1028, allocations: 67.02 kB / 0.4909 GB, free: 8.883 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.079e-05/0.1029, allocations: 41.7 kB / 0.491 GB, free: 8.836 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.347e-05/0.103, allocations: 326.8 kB / 0.4913 GB, free: 8.508 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.1031, allocations: 51.97 kB / 0.4913 GB, free: 8.457 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.1032, allocations: 78.53 kB / 0.4914 GB, free: 8.371 MB / 394.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: grid.f = grid.fnom (0.1591549430918953 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.1044, allocations: 427.8 kB / 0.4918 GB, free: 7.926 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1045, allocations: 0 / 0.4918 GB, free: 7.926 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003423/0.1048, allocations: 193.2 kB / 0.492 GB, free: 7.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1048, allocations: 8.031 kB / 0.492 GB, free: 7.723 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1048, allocations: 0 / 0.492 GB, free: 7.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1049, allocations: 4 kB / 0.492 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002621/0.1051, allocations: 63.89 kB / 0.4921 GB, free: 7.656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1051, allocations: 3.938 kB / 0.4921 GB, free: 7.652 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.1053, allocations: 12 kB / 0.4921 GB, free: 7.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1053, allocations: 4 kB / 0.4921 GB, free: 7.637 MB / 394.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: grid.f = grid.fnom. 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 (23): * Single equations (assignments): 23 * 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.0001168/0.1054, allocations: 138.6 kB / 0.4922 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.1055, allocations: 19.75 kB / 0.4922 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.918e-05/0.1055, allocations: 30.19 kB / 0.4923 GB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1055, allocations: 0 / 0.4923 GB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1055, allocations: 0 / 0.4923 GB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1056, allocations: 3.984 kB / 0.4923 GB, free: 7.438 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006681/0.1062, allocations: 0.5255 MB / 0.4928 GB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1062, allocations: 4 kB / 0.4928 GB, free: 6.852 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.1065, allocations: 51.97 kB / 0.4928 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1065, allocations: 0 / 0.4928 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1066, allocations: 0 / 0.4928 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.1066, allocations: 7.984 kB / 0.4928 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1066, allocations: 0 / 0.4928 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00251/0.1091, allocations: 1.805 MB / 0.4946 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.202e-05/0.1092, allocations: 104.9 kB / 0.4947 GB, free: 4.727 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.1092, allocations: 11.94 kB / 0.4947 GB, free: 4.715 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.1094, allocations: 11.98 kB / 0.4947 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.1094, allocations: 11.98 kB / 0.4947 GB, free: 4.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.1094, allocations: 4 kB / 0.4947 GB, free: 4.688 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001391/0.1096, allocations: 168.5 kB / 0.4949 GB, free: 4.523 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1096, allocations: 0 / 0.4949 GB, free: 4.523 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003683/0.11, allocations: 56 kB / 0.495 GB, free: 4.469 MB / 394.7 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 (18): * Single equations (assignments): 18 * 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 7.85e-05/0.11, allocations: 99.19 kB / 0.4951 GB, free: 4.363 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003147/0.1104, allocations: 135.8 kB / 0.4952 GB, free: 4.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1104, allocations: 8.062 kB / 0.4952 GB, free: 4.223 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.1105, allocations: 64.47 kB / 0.4953 GB, free: 4.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.1109, allocations: 40.66 kB / 0.4953 GB, free: 4.121 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.112, allocations: 0.8199 MB / 0.4961 GB, free: 3.266 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.1123, allocations: 0.7442 MB / 0.4968 GB, free: 2.492 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.1124, allocations: 25.53 kB / 0.4968 GB, free: 2.469 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.215e-05/0.1125, allocations: 19.44 kB / 0.4969 GB, free: 2.449 MB / 394.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1125, allocations: 0 / 0.4969 GB, free: 2.449 MB / 394.7 MB Notification: Performance of Templates: time 0.004781/0.1173, allocations: 2.241 MB / 0.499 GB, free: 216 kB / 394.7 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1)