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.001444/0.001444, allocations: 111.1 kB / 17.68 MB, free: 5.355 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.001591/0.001591, allocations: 192 kB / 18.62 MB, free: 4.434 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.326/1.326, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2529/0.2529, allocations: 48.84 MB / 320.7 MB, free: 11.03 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.002688/0.002688, allocations: 68 kB / 391.5 MB, free: 48.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09896/0.1017, allocations: 59.16 MB / 450.7 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.003683/0.1054, allocations: 2.652 MB / 453.3 MB, free: 6.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1067, allocations: 0.7409 MB / 454.1 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.1069, allocations: 4 kB / 454.1 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.1071, allocations: 47.45 kB / 454.1 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.1074, allocations: 123 kB / 454.2 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.1076, allocations: 79.83 kB / 454.3 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000411/0.108, allocations: 402.1 kB / 454.7 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.1082, allocations: 89.56 kB / 454.8 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.1084, allocations: 147.4 kB / 454.9 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002144/0.1086, allocations: 167.2 kB / 455.1 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.172e-05/0.1087, allocations: 24 kB / 455.1 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.26e-05/0.1088, allocations: 28 kB / 455.2 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.554e-05/0.1088, allocations: 67.64 kB / 455.2 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.109, allocations: 179 kB / 455.4 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.1093, allocations: 318.7 kB / 455.7 MB, free: 3.973 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1093, allocations: 0 / 455.7 MB, free: 3.973 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1093, allocations: 0 / 455.7 MB, free: 3.973 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.1094, allocations: 0 / 455.7 MB, free: 3.973 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.001055/0.1104, allocations: 0.6659 MB / 456.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.1105, allocations: 11.89 kB / 456.4 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.1106, allocations: 48.39 kB / 456.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.111, allocations: 319.9 kB / 456.7 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.111, allocations: 16.81 kB / 456.8 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.1111, allocations: 24.38 kB / 456.8 MB, free: 2.809 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004027/0.1115, allocations: 243 kB / 457 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1115, allocations: 4 kB / 457 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.1115, allocations: 8 kB / 457 MB, free: 2.547 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.1115, allocations: 8 kB / 457 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.1119, allocations: 173.6 kB / 457.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.1131, allocations: 0.8634 MB / 458.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.1134, allocations: 194.5 kB / 458.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.1136, allocations: 108.8 kB / 458.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.1136, allocations: 0 / 458.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.1137, allocations: 38.56 kB / 458.4 MB, free: 1.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.282e-06/0.1137, allocations: 0 / 458.4 MB, free: 1.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001323/0.115, allocations: 0.7384 MB / 459.1 MB, free: 304 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.1151, allocations: 59.34 kB / 459.2 MB, free: 232 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.1154, allocations: 296.6 kB / 459.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.1154, allocations: 37.7 kB / 459.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.1155, allocations: 184.5 kB / 459.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.495e-05/0.1156, allocations: 94.64 kB / 459.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.636e-05/0.1157, allocations: 53.61 kB / 459.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1158, allocations: 342.8 kB / 460.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.116, allocations: 79.95 kB / 460.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.1162, allocations: 110.6 kB / 460.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003528/0.1165, allocations: 192.1 kB / 460.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1165, allocations: 0 / 460.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006348/0.1172, allocations: 322.9 kB / 460.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1172, allocations: 8 kB / 460.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.1172, allocations: 0 / 460.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000271/0.1175, allocations: 56.77 kB / 460.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.1179, allocations: 80 kB / 461 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/0.1202, allocations: 3.032 MB / 464.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.1204, allocations: 11.98 kB / 464.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.1205, allocations: 11.94 kB / 464.1 MB, free: 11.01 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.0001366/0.1206, allocations: 145.8 kB / 464.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.627e-05/0.1207, allocations: 35.53 kB / 464.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004516/0.1211, allocations: 261.4 kB / 464.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.1211, allocations: 7.984 kB / 464.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.1211, allocations: 0 / 464.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1212, allocations: 0 / 464.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009083/0.1221, allocations: 0.6666 MB / 465.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1221, allocations: 0 / 465.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.1224, allocations: 67.91 kB / 465.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.1224, allocations: 4 kB / 465.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.1225, allocations: 7.938 kB / 465.3 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.1225, allocations: 7.984 kB / 465.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1225, allocations: 3.984 kB / 465.3 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006262/0.1231, allocations: 440.2 kB / 465.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.1232, allocations: 120.8 kB / 465.8 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.1233, allocations: 11.94 kB / 465.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.1235, allocations: 12.23 kB / 465.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.1235, allocations: 19.97 kB / 465.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.1236, allocations: 12 kB / 465.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000207/0.1238, allocations: 219.1 kB / 466.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1238, allocations: 0 / 466.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003288/0.1241, allocations: 68 kB / 466.2 MB, free: 8.82 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.162e-05/0.1242, allocations: 103.1 kB / 466.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007955/0.125, allocations: 370.8 kB / 466.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.125, allocations: 4 kB / 466.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.1252, allocations: 107.8 kB / 466.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004474/0.1257, allocations: 70.23 kB / 466.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.1272, allocations: 0.9011 MB / 467.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.1275, allocations: 0.7876 MB / 468.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.1276, allocations: 34.95 kB / 468.5 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.332e-05/0.1277, allocations: 31.44 kB / 468.6 MB, free: 6.348 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1277, allocations: 0 / 468.6 MB, free: 6.348 MB / 350.1 MB Notification: Performance of Templates: time 0.007119/0.1348, allocations: 3.451 MB / 472 MB, free: 2.898 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 -s gbode -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1)