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.001189/0.001189, allocations: 96.73 kB / 16.3 MB, free: 5.656 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.001356/0.001356, allocations: 183.2 kB / 17.2 MB, free: 5.59 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.246/1.246, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.259/0.259, allocations: 48.78 MB / 320.4 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.000493/0.0004932, allocations: 18.28 kB / 391.1 MB, free: 50.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08732/0.08782, allocations: 60.27 MB / 451.4 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.002593/0.09046, allocations: 2.156 MB / 453.5 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.09166, allocations: 0.7493 MB / 454.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.0918, allocations: 7.938 kB / 454.3 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.679e-05/0.09187, allocations: 27.7 kB / 454.3 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.09218, allocations: 131.6 kB / 454.5 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.09234, allocations: 59.92 kB / 454.5 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.09266, allocations: 275.3 kB / 454.8 MB, free: 6.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.09283, allocations: 73.19 kB / 454.9 MB, free: 6.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.093, allocations: 135.4 kB / 455 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.09319, allocations: 143.3 kB / 455.1 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.629e-05/0.09324, allocations: 16 kB / 455.1 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.891e-05/0.09332, allocations: 12 kB / 455.2 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.165e-05/0.09338, allocations: 59.75 kB / 455.2 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.365e-05/0.09345, allocations: 81.52 kB / 455.3 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.0937, allocations: 227.6 kB / 455.5 MB, free: 5.441 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.09371, allocations: 0 / 455.5 MB, free: 5.441 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.09372, allocations: 0 / 455.5 MB, free: 5.441 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.09373, allocations: 0 / 455.5 MB, free: 5.441 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.001045/0.09478, allocations: 0.6153 MB / 456.1 MB, free: 4.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.09483, allocations: 8.031 kB / 456.1 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.09494, allocations: 39.53 kB / 456.2 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.09534, allocations: 306.9 kB / 456.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.09538, allocations: 16.44 kB / 456.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/0.09543, allocations: 27.94 kB / 456.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004129/0.09585, allocations: 242.7 kB / 456.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.09587, allocations: 0 / 456.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.0959, allocations: 15.95 kB / 456.8 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.09591, allocations: 4 kB / 456.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/0.09632, allocations: 193.5 kB / 457 MB, free: 3.883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.09748, allocations: 0.8712 MB / 457.8 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.09781, allocations: 195 kB / 458 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.09784, allocations: 0 / 458 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.09787, allocations: 42.56 kB / 458.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.103e-06/0.09788, allocations: 0 / 458.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001408/0.09929, allocations: 0.7613 MB / 458.8 MB, free: 1.887 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.09934, allocations: 63.34 kB / 458.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.09964, allocations: 296.6 kB / 459.2 MB, free: 1.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.09967, allocations: 33.7 kB / 459.2 MB, free: 1.48 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.0998, allocations: 184.6 kB / 459.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.558e-05/0.09987, allocations: 90.56 kB / 459.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.071e-05/0.09989, allocations: 8 kB / 459.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1, allocations: 346.8 kB / 459.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.1002, allocations: 83.95 kB / 459.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.1004, allocations: 114.5 kB / 460 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/0.1006, allocations: 97.38 kB / 460.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.1006, allocations: 0 / 460.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006193/0.1012, allocations: 323.3 kB / 460.4 MB, free: 236 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1013, allocations: 4 kB / 460.4 MB, free: 232 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.1013, allocations: 7.953 kB / 460.4 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002691/0.1015, allocations: 56.81 kB / 460.5 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.1019, allocations: 79.95 kB / 460.6 MB, free: 84 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/0.1041, allocations: 2.839 MB / 463.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.1044, allocations: 19.97 kB / 463.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.1044, allocations: 4 kB / 463.4 MB, free: 12.95 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.1045, allocations: 146.6 kB / 463.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.1046, allocations: 39.64 kB / 463.6 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004689/0.1051, allocations: 269.2 kB / 463.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1051, allocations: 4 kB / 463.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.1051, allocations: 0 / 463.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-06/0.1051, allocations: 7.984 kB / 463.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000885/0.106, allocations: 0.6778 MB / 464.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.106, allocations: 0 / 464.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.1064, allocations: 75.91 kB / 464.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1064, allocations: 0 / 464.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.1064, allocations: 8 kB / 464.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1064, allocations: 0 / 464.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1064, allocations: 384 / 464.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006455/0.1071, allocations: 475.8 kB / 465.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.1072, allocations: 120.7 kB / 465.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.896e-05/0.1072, allocations: 12.12 kB / 465.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.1074, allocations: 19.98 kB / 465.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.1075, allocations: 15.97 kB / 465.3 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.1075, allocations: 8 kB / 465.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001986/0.1077, allocations: 211.1 kB / 465.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1077, allocations: 0 / 465.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003316/0.108, allocations: 68 kB / 465.6 MB, free: 10.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001013/0.1082, allocations: 111.2 kB / 465.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008504/0.109, allocations: 374.6 kB / 466 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.109, allocations: 0 / 466 MB, free: 10.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.1092, allocations: 111.9 kB / 466.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.1096, allocations: 52.34 kB / 466.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.1111, allocations: 1.131 MB / 467.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.1115, allocations: 0.7954 MB / 468.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000128/0.1116, allocations: 38.95 kB / 468.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.098e-05/0.1117, allocations: 23.44 kB / 468.2 MB, free: 8.02 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1117, allocations: 0 / 468.2 MB, free: 8.02 MB / 350.1 MB Notification: Performance of Templates: time 0.00623/0.1179, allocations: 3.056 MB / 471.2 MB, free: 4.961 MB / 350.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: