Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 102.4 kB / 16.62 MB, free: 6.738 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.00156/0.00156, allocations: 193.8 kB / 17.55 MB, free: 5.918 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.295/1.295, 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.2557/0.2557, allocations: 48.84 MB / 319.6 MB, free: 11.26 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.001259/0.001259, allocations: 65.28 kB / 389.5 MB, free: 49.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07781/0.07908, allocations: 59.16 MB / 448.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003528/0.08264, allocations: 2.745 MB / 451.5 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.0838, allocations: 0.7604 MB / 452.2 MB, free: 6.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.08394, allocations: 4 kB / 452.2 MB, free: 6.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001352/0.0841, allocations: 27.72 kB / 452.2 MB, free: 6.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002632/0.08437, allocations: 107.2 kB / 452.3 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001816/0.08456, allocations: 75.8 kB / 452.4 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003581/0.08493, allocations: 394.2 kB / 452.8 MB, free: 5.996 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.08509, allocations: 85.56 kB / 452.9 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.08527, allocations: 155.3 kB / 453 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.08545, allocations: 159.1 kB / 453.2 MB, free: 5.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.0855, allocations: 28 kB / 453.2 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.667e-05/0.08558, allocations: 39.98 kB / 453.3 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.08564, allocations: 67.69 kB / 453.3 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.08577, allocations: 167.1 kB / 453.5 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002879/0.08607, allocations: 315 kB / 453.8 MB, free: 5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.08608, allocations: 0 / 453.8 MB, free: 5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.08609, allocations: 0 / 453.8 MB, free: 5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.0861, allocations: 0 / 453.8 MB, free: 5 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009694/0.08707, allocations: 0.6697 MB / 454.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.08711, allocations: 15.89 kB / 454.5 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.08722, allocations: 40.47 kB / 454.5 MB, free: 4.227 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.08758, allocations: 312 kB / 454.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.0876, allocations: 16.81 kB / 454.8 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.778e-05/0.08766, allocations: 24.38 kB / 454.9 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004189/0.08808, allocations: 250.9 kB / 455.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.08811, allocations: 0 / 455.1 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.08813, allocations: 8 kB / 455.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.08815, allocations: 8 kB / 455.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003634/0.08852, allocations: 173.6 kB / 455.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.08956, allocations: 0.8711 MB / 456.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.08987, allocations: 182.6 kB / 456.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.09006, allocations: 108.8 kB / 456.5 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.09009, allocations: 4 kB / 456.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.09012, allocations: 42.5 kB / 456.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.242e-06/0.09012, allocations: 0 / 456.5 MB, free: 2.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001233/0.09136, allocations: 0.7411 MB / 457.2 MB, free: 1.316 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.09141, allocations: 55.41 kB / 457.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.09168, allocations: 296.6 kB / 457.6 MB, free: 0.957 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.09171, allocations: 29.7 kB / 457.6 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.09182, allocations: 188.4 kB / 457.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.344e-05/0.09189, allocations: 94.64 kB / 457.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.241e-05/0.09197, allocations: 61.59 kB / 458 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.09209, allocations: 342.8 kB / 458.3 MB, free: 236 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.09226, allocations: 75.95 kB / 458.4 MB, free: 160 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.09244, allocations: 110.7 kB / 458.5 MB, free: 40 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.09279, allocations: 192.2 kB / 458.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.09281, allocations: 0 / 458.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005897/0.0934, allocations: 322.9 kB / 459 MB, free: 15.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.09343, allocations: 8.062 kB / 459 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.09344, allocations: 7.984 kB / 459 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002482/0.09369, allocations: 52.81 kB / 459 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.09405, allocations: 75.89 kB / 459.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.09628, allocations: 3.028 MB / 462.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.09647, allocations: 16.02 kB / 462.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.0965, allocations: 15.94 kB / 462.2 MB, free: 12.03 MB / 350.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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.09663, allocations: 149.7 kB / 462.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.09669, allocations: 31.53 kB / 462.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004262/0.09712, allocations: 265.3 kB / 462.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.09714, allocations: 4 kB / 462.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.09715, allocations: 0 / 462.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.09716, allocations: 4 kB / 462.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008238/0.09799, allocations: 0.6622 MB / 463.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.098, allocations: 0 / 463.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/0.09832, allocations: 68.08 kB / 463.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.09833, allocations: 0 / 463.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.09836, allocations: 15.94 kB / 463.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.09837, allocations: 4 kB / 463.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.09837, allocations: 0 / 463.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005883/0.09897, allocations: 451.5 kB / 463.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.531e-05/0.09907, allocations: 124.8 kB / 463.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.09912, allocations: 7.938 kB / 463.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.09931, allocations: 16 kB / 463.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/0.09937, allocations: 19.97 kB / 464 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.0994, allocations: 7.938 kB / 464 MB, free: 10.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001827/0.09959, allocations: 215.1 kB / 464.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0996, allocations: 0 / 464.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003165/0.09992, allocations: 72 kB / 464.3 MB, free: 9.836 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.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 (28): * Single equations (assignments): 28 * 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.004e-05/0.1, allocations: 107.1 kB / 464.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008427/0.1009, allocations: 375.7 kB / 464.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1009, allocations: 0 / 464.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.1011, allocations: 115.9 kB / 464.8 MB, free: 9.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.1015, allocations: 57.06 kB / 464.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.103, allocations: 1.042 MB / 465.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.1033, allocations: 0.7876 MB / 466.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000141/0.1035, allocations: 34.95 kB / 466.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.524e-05/0.1036, allocations: 31.44 kB / 466.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1036, allocations: 0 / 466.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of Templates: time 0.006395/0.11, allocations: 3.375 MB / 470.2 MB, free: 3.852 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1)