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.000747/0.0007469, allocations: 93.09 kB / 16.65 MB, free: 6.59 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.0007753/0.0007756, allocations: 184.1 kB / 17.56 MB, free: 6.203 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.284/1.284, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2583/0.2583, allocations: 48.78 MB / 320.8 MB, free: 11.19 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.0007533/0.0007535, allocations: 20.42 kB / 391.8 MB, free: 50.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1094, allocations: 60.27 MB / 452.1 MB, free: 9.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.002727/0.1122, allocations: 2.371 MB / 454.4 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.1136, allocations: 0.7526 MB / 455.2 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002309/0.1139, allocations: 7.938 kB / 455.2 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.1141, allocations: 31.7 kB / 455.2 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003763/0.1145, allocations: 107.2 kB / 455.3 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.1147, allocations: 71.92 kB / 455.4 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004545/0.1152, allocations: 378.2 kB / 455.8 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.1154, allocations: 73.02 kB / 455.9 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.1156, allocations: 135.3 kB / 456 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.1159, allocations: 159.1 kB / 456.1 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.512e-05/0.1159, allocations: 16 kB / 456.2 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.034e-05/0.116, allocations: 20 kB / 456.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.063e-05/0.1161, allocations: 47.72 kB / 456.2 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.1163, allocations: 184.7 kB / 456.4 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.1166, allocations: 302.9 kB / 456.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1166, allocations: 0 / 456.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1166, allocations: 0 / 456.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.1166, allocations: 0 / 456.7 MB, free: 4.512 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.0009897/0.1176, allocations: 0.6115 MB / 457.3 MB, free: 3.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1176, allocations: 12.03 kB / 457.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.1178, allocations: 40.47 kB / 457.4 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.1182, allocations: 316 kB / 457.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.1182, allocations: 20.81 kB / 457.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.049e-05/0.1182, allocations: 24.38 kB / 457.7 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004386/0.1187, allocations: 250.9 kB / 458 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.1187, allocations: 4 kB / 458 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.1187, allocations: 8 kB / 458 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1188, allocations: 11.98 kB / 458 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003958/0.1192, allocations: 193.5 kB / 458.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.1204, allocations: 0.8673 MB / 459 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.1207, allocations: 199.9 kB / 459.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.1209, allocations: 112.8 kB / 459.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.121, allocations: 4 kB / 459.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.121, allocations: 30.56 kB / 459.4 MB, free: 1.641 MB / 334.1 MB Notification: Performance of pre-optimization done (n=25): time 1.513e-06/0.121, allocations: 4 kB / 459.4 MB, free: 1.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001415/0.1224, allocations: 0.7685 MB / 460.2 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.1225, allocations: 55.41 kB / 460.2 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.1228, allocations: 304.5 kB / 460.5 MB, free: 464 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.1228, allocations: 29.7 kB / 460.5 MB, free: 428 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.1229, allocations: 180.6 kB / 460.7 MB, free: 244 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.575e-05/0.123, allocations: 102.5 kB / 460.8 MB, free: 140 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.393e-05/0.123, allocations: 33.7 kB / 460.8 MB, free: 100 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1232, allocations: 342.8 kB / 461.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.1234, allocations: 83.95 kB / 461.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.1236, allocations: 126.5 kB / 461.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003732/0.124, allocations: 200.2 kB / 461.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.124, allocations: 0 / 461.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006446/0.1246, allocations: 338.9 kB / 461.9 MB, free: 15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1246, allocations: 4 kB / 461.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1247, allocations: 0 / 461.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002598/0.1249, allocations: 60.88 kB / 462 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003678/0.1253, allocations: 79.89 kB / 462 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/0.1275, allocations: 2.823 MB / 464.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.1277, allocations: 16.02 kB / 464.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/0.1277, allocations: 12.19 kB / 464.9 MB, free: 11.73 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.000135/0.1279, allocations: 149.7 kB / 465 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.09e-05/0.1279, allocations: 39.56 kB / 465.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000471/0.1284, allocations: 277.2 kB / 465.4 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.1284, allocations: 8 kB / 465.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.1284, allocations: 0 / 465.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1284, allocations: 3.984 kB / 465.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008895/0.1293, allocations: 0.6739 MB / 466 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1293, allocations: 0 / 466 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.1297, allocations: 67.91 kB / 466.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1297, allocations: 0 / 466.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.1297, allocations: 8 kB / 466.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1297, allocations: 0 / 466.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1297, allocations: 0 / 466.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006506/0.1304, allocations: 479.5 kB / 466.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.1305, allocations: 124.8 kB / 466.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.1305, allocations: 4 kB / 466.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.1307, allocations: 11.98 kB / 466.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.1308, allocations: 15.98 kB / 466.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.1308, allocations: 11.98 kB / 466.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001966/0.131, allocations: 215 kB / 467 MB, free: 9.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.131, allocations: 0 / 467 MB, free: 9.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003305/0.1314, allocations: 72 kB / 467 MB, free: 9.492 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.813e-05/0.1315, allocations: 107.2 kB / 467.1 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008478/0.1323, allocations: 382.5 kB / 467.5 MB, free: 8.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1323, allocations: 0 / 467.5 MB, free: 8.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.1325, allocations: 111.9 kB / 467.6 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.133, allocations: 61 kB / 467.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.1346, allocations: 1.15 MB / 468.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.1349, allocations: 0.7876 MB / 469.6 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.1351, allocations: 38.94 kB / 469.7 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.423e-05/0.1351, allocations: 23.44 kB / 469.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1352, allocations: 4 kB / 469.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of Templates: time 0.006796/0.142, allocations: 3.166 MB / 472.8 MB, free: 3.602 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: