Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 107.5 kB / 16.62 MB, free: 6.816 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.001069/0.001069, allocations: 186 kB / 17.55 MB, free: 5.934 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.271/1.271, allocations: 205.1 MB / 223.4 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2578/0.2578, allocations: 48.83 MB / 319.6 MB, free: 11.28 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.001365/0.001365, allocations: 69.89 kB / 389.6 MB, free: 49.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08449/0.08586, allocations: 59.16 MB / 448.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.003326/0.08923, allocations: 2.434 MB / 451.1 MB, free: 7.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000994/0.09024, allocations: 0.6786 MB / 451.8 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.09036, allocations: 4 kB / 451.8 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.09049, allocations: 19.78 kB / 451.8 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.09071, allocations: 71.45 kB / 451.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001356/0.09085, allocations: 47.95 kB / 452 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.09112, allocations: 278.7 kB / 452.2 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.09128, allocations: 60.72 kB / 452.3 MB, free: 6.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.09143, allocations: 119.4 kB / 452.4 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.09157, allocations: 111.5 kB / 452.5 MB, free: 6.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.09161, allocations: 16 kB / 452.5 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.634e-05/0.09167, allocations: 24 kB / 452.6 MB, free: 6.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.915e-05/0.09172, allocations: 51.72 kB / 452.6 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.359e-05/0.09182, allocations: 123.3 kB / 452.7 MB, free: 6.086 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.09205, allocations: 215.4 kB / 452.9 MB, free: 5.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.09206, allocations: 0 / 452.9 MB, free: 5.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.09207, allocations: 0 / 452.9 MB, free: 5.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.09208, allocations: 0 / 452.9 MB, free: 5.875 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007926/0.09288, allocations: 0.5567 MB / 453.5 MB, free: 5.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.09292, allocations: 11.89 kB / 453.5 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.427e-05/0.09302, allocations: 32.56 kB / 453.5 MB, free: 5.227 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.09329, allocations: 254.8 kB / 453.8 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.09331, allocations: 16.38 kB / 453.8 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.09335, allocations: 24.31 kB / 453.8 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.09366, allocations: 175.4 kB / 454 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.09369, allocations: 0 / 454 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.09371, allocations: 8 kB / 454 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.09372, allocations: 4 kB / 454 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002773/0.09401, allocations: 119.8 kB / 454.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000861/0.09488, allocations: 0.6541 MB / 454.8 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.09513, allocations: 142.3 kB / 454.9 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.09528, allocations: 80.86 kB / 455 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.09531, allocations: 0 / 455 MB, free: 3.645 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.09533, allocations: 30.56 kB / 455 MB, free: 3.605 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.032e-06/0.09534, allocations: 4 kB / 455 MB, free: 3.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0009798/0.09632, allocations: 0.5475 MB / 455.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.09637, allocations: 55.41 kB / 455.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.09658, allocations: 229 kB / 455.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.09661, allocations: 29.7 kB / 455.9 MB, free: 2.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/0.09669, allocations: 148.3 kB / 456 MB, free: 2.523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.321e-05/0.09675, allocations: 67 kB / 456.1 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.09682, allocations: 41.64 kB / 456.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.09693, allocations: 346.8 kB / 456.5 MB, free: 2.062 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.09706, allocations: 51.92 kB / 456.5 MB, free: 2.012 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.09719, allocations: 73.53 kB / 456.6 MB, free: 1.934 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.09744, allocations: 129.5 kB / 456.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.09745, allocations: 4 kB / 456.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000324/0.09778, allocations: 197.6 kB / 456.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.09781, allocations: 8 kB / 456.9 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.09782, allocations: 0 / 456.9 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.09784, allocations: 0 / 456.9 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/0.09822, allocations: 67.89 kB / 457 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/0.09924, allocations: 1.437 MB / 458.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.09939, allocations: 12.02 kB / 458.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.09941, allocations: 8 kB / 458.5 MB, free: 15.92 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.09953, allocations: 133.9 kB / 458.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.487e-05/0.09958, allocations: 23.72 kB / 458.6 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.09992, allocations: 193.7 kB / 458.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.09993, allocations: 0 / 458.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.09994, allocations: 0 / 458.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.09995, allocations: 0 / 458.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006601/0.1006, allocations: 0.5346 MB / 459.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1006, allocations: 4 kB / 459.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.1009, allocations: 39.98 kB / 459.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1009, allocations: 4 kB / 459.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.1009, allocations: 4 kB / 459.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.1009, allocations: 7.984 kB / 459.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1009, allocations: 0 / 459.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004454/0.1014, allocations: 343.3 kB / 459.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.225e-05/0.1014, allocations: 104.8 kB / 459.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.1015, allocations: 12 kB / 459.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.1016, allocations: 11.98 kB / 459.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.1017, allocations: 7.984 kB / 459.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.1017, allocations: 4 kB / 459.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.1019, allocations: 172.5 kB / 460 MB, free: 14.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1019, allocations: 0 / 460 MB, free: 14.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002761/0.1021, allocations: 44 kB / 460.1 MB, free: 14.2 MB / 350.1 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: 0 () * 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.105e-05/0.1022, allocations: 103.2 kB / 460.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005332/0.1028, allocations: 191.8 kB / 460.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1028, allocations: 4 kB / 460.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.1029, allocations: 67.91 kB / 460.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.1033, allocations: 48.34 kB / 460.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1044, allocations: 0.7301 MB / 461.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.1047, allocations: 0.7521 MB / 462 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.934e-05/0.1048, allocations: 25.52 kB / 462 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.302e-05/0.1048, allocations: 23.44 kB / 462 MB, free: 12.2 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1049, allocations: 0 / 462 MB, free: 12.2 MB / 350.1 MB Notification: Performance of Templates: time 0.004779/0.1096, allocations: 2.278 MB / 464.3 MB, free: 9.922 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1)