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.0009844/0.0009844, allocations: 97.52 kB / 16.5 MB, free: 6.641 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.0009388/0.0009389, allocations: 191.1 kB / 17.42 MB, free: 6.07 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.243/1.243, allocations: 205.1 MB / 223.3 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2626/0.2626, allocations: 48.84 MB / 319.5 MB, free: 11.32 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.001301/0.001301, allocations: 63.34 kB / 389.3 MB, free: 48.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08198/0.0833, allocations: 59.16 MB / 448.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003429/0.08676, allocations: 2.749 MB / 451.3 MB, free: 7.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001069/0.08785, allocations: 0.7604 MB / 452 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.08799, allocations: 7.938 kB / 452 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.08813, allocations: 31.66 kB / 452.1 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002426/0.08839, allocations: 103.3 kB / 452.2 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.08854, allocations: 75.8 kB / 452.2 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.08887, allocations: 378.2 kB / 452.6 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.08903, allocations: 73 kB / 452.7 MB, free: 6.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.08921, allocations: 147.3 kB / 452.8 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.0894, allocations: 163.1 kB / 453 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.689e-05/0.08944, allocations: 16 kB / 453 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.32e-05/0.08952, allocations: 20 kB / 453 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.065e-05/0.08958, allocations: 59.7 kB / 453.1 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001325/0.08972, allocations: 159.1 kB / 453.2 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.08999, allocations: 310.9 kB / 453.5 MB, free: 5.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.09, allocations: 0 / 453.5 MB, free: 5.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.09001, allocations: 0 / 453.5 MB, free: 5.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.09002, allocations: 0 / 453.5 MB, free: 5.234 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.001009/0.09103, allocations: 0.6721 MB / 454.2 MB, free: 4.516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.09107, allocations: 8.031 kB / 454.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.09119, allocations: 40.47 kB / 454.2 MB, free: 4.469 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.09154, allocations: 312 kB / 454.5 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.09157, allocations: 16.81 kB / 454.6 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.09162, allocations: 24.38 kB / 454.6 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004055/0.09203, allocations: 250.9 kB / 454.8 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.09205, allocations: 0 / 454.8 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.09208, allocations: 12 kB / 454.8 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.09209, allocations: 4 kB / 454.8 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003683/0.09246, allocations: 177.6 kB / 455 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.09355, allocations: 0.8672 MB / 455.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.09388, allocations: 186.5 kB / 456.1 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.09407, allocations: 104.8 kB / 456.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.0941, allocations: 7.984 kB / 456.2 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.09413, allocations: 38.56 kB / 456.2 MB, free: 2.348 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.343e-06/0.09413, allocations: 0 / 456.2 MB, free: 2.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001337/0.09548, allocations: 0.7373 MB / 457 MB, free: 1.562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.09552, allocations: 55.41 kB / 457 MB, free: 1.496 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.09581, allocations: 296.6 kB / 457.3 MB, free: 1.203 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.09585, allocations: 33.7 kB / 457.3 MB, free: 1.164 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.09596, allocations: 184.5 kB / 457.5 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.899e-05/0.09603, allocations: 94.64 kB / 457.6 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-05/0.09611, allocations: 65.53 kB / 457.7 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.09624, allocations: 338.8 kB / 458 MB, free: 488 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.09641, allocations: 79.95 kB / 458.1 MB, free: 408 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.09659, allocations: 122.4 kB / 458.2 MB, free: 276 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003319/0.09693, allocations: 184.2 kB / 458.4 MB, free: 84 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.09694, allocations: 0 / 458.4 MB, free: 84 kB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006088/0.09755, allocations: 323.2 kB / 458.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.09758, allocations: 8 kB / 458.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.09759, allocations: 4.062 kB / 458.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002484/0.09784, allocations: 52.81 kB / 458.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.0982, allocations: 75.89 kB / 458.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.1004, allocations: 2.815 MB / 461.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.1005, allocations: 20.02 kB / 461.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.1006, allocations: 8 kB / 461.7 MB, free: 12.5 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.0001392/0.1007, allocations: 153.8 kB / 461.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.652e-05/0.1008, allocations: 39.55 kB / 461.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004268/0.1012, allocations: 253.3 kB / 462.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1012, allocations: 7.938 kB / 462.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.1012, allocations: 0 / 462.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1012, allocations: 3.984 kB / 462.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008503/0.1021, allocations: 0.67 MB / 462.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1021, allocations: 0 / 462.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/0.1024, allocations: 67.91 kB / 462.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.1024, allocations: 4 kB / 462.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.1025, allocations: 4.188 kB / 462.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1025, allocations: 4 kB / 462.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1025, allocations: 8 kB / 462.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006347/0.1031, allocations: 451.5 kB / 463.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.1032, allocations: 124.7 kB / 463.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.1033, allocations: 4 kB / 463.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.1035, allocations: 19.98 kB / 463.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.1036, allocations: 15.97 kB / 463.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.1036, allocations: 8 kB / 463.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002128/0.1038, allocations: 207.1 kB / 463.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1038, allocations: 7.938 kB / 463.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003238/0.1041, allocations: 72 kB / 463.8 MB, free: 10.3 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.643e-05/0.1042, allocations: 107.1 kB / 463.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008229/0.1051, allocations: 362.4 kB / 464.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1051, allocations: 0 / 464.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.1053, allocations: 108 kB / 464.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.1057, allocations: 65 kB / 464.4 MB, free: 9.652 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.1073, allocations: 1.037 MB / 465.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.1076, allocations: 0.7915 MB / 466.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.1078, allocations: 30.97 kB / 466.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.723e-05/0.1078, allocations: 27.44 kB / 466.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.1078, allocations: 0 / 466.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of Templates: time 0.006321/0.1142, allocations: 3.202 MB / 469.5 MB, free: 4.508 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)