Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.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.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001148, allocations: 109.5 kB / 17.06 MB, free: 6.023 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.001152/0.001152, allocations: 191 kB / 18 MB, free: 5.105 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.291/1.291, allocations: 205.1 MB / 223.9 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2635/0.2635, allocations: 48.83 MB / 320.1 MB, free: 11.02 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.00247/0.00247, allocations: 67.91 kB / 450.5 MB, free: 8.562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1148, allocations: 59.16 MB / 0.4977 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.003767/0.1186, allocations: 2.954 MB / 0.5006 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.1198, allocations: 0.815 MB / 0.5014 GB, free: 9.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.12, allocations: 11.94 kB / 0.5014 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.1201, allocations: 47.39 kB / 0.5015 GB, free: 9.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.1205, allocations: 146.8 kB / 0.5016 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.1207, allocations: 111.8 kB / 0.5017 GB, free: 9.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004581/0.1212, allocations: 498.3 kB / 0.5022 GB, free: 8.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000232/0.1214, allocations: 144 kB / 0.5023 GB, free: 8.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.1217, allocations: 195.2 kB / 0.5025 GB, free: 8.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002344/0.1219, allocations: 207 kB / 0.5027 GB, free: 8.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.313e-05/0.122, allocations: 32 kB / 0.5027 GB, free: 8.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.12e-05/0.1221, allocations: 40 kB / 0.5028 GB, free: 8.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.88e-05/0.1221, allocations: 87.61 kB / 0.5029 GB, free: 7.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.1223, allocations: 210.8 kB / 0.5031 GB, free: 7.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003883/0.1227, allocations: 406.4 kB / 0.5035 GB, free: 7.371 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1227, allocations: 11.94 kB / 0.5035 GB, free: 7.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1228, allocations: 0 / 0.5035 GB, free: 7.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.1228, allocations: 0 / 0.5035 GB, free: 7.359 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001215/0.124, allocations: 0.7554 MB / 0.5042 GB, free: 6.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.124, allocations: 12.03 kB / 0.5042 GB, free: 6.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.1242, allocations: 48.38 kB / 0.5043 GB, free: 6.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.1246, allocations: 358.1 kB / 0.5046 GB, free: 6.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.1246, allocations: 21.03 kB / 0.5046 GB, free: 6.086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.183e-05/0.1247, allocations: 44.28 kB / 0.5047 GB, free: 6.043 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/0.1252, allocations: 297.7 kB / 0.5049 GB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1252, allocations: 0 / 0.5049 GB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.94e-05/0.1252, allocations: 15.98 kB / 0.505 GB, free: 5.719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.1253, allocations: 4 kB / 0.505 GB, free: 5.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003938/0.1257, allocations: 206.1 kB / 0.5052 GB, free: 5.516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.1272, allocations: 1.108 MB / 0.5062 GB, free: 4.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.1276, allocations: 239 kB / 0.5065 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.1279, allocations: 120.8 kB / 0.5066 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.1279, allocations: 0 / 0.5066 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1279, allocations: 39.09 kB / 0.5066 GB, free: 3.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=31): time 2.495e-06/0.1279, allocations: 4 kB / 0.5066 GB, free: 3.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.001768/0.1297, allocations: 0.925 MB / 0.5075 GB, free: 2.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.1298, allocations: 59.41 kB / 0.5076 GB, free: 2.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/0.1301, allocations: 353.7 kB / 0.5079 GB, free: 2.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.399e-05/0.1302, allocations: 37.7 kB / 0.508 GB, free: 2.453 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.1303, allocations: 204.4 kB / 0.5082 GB, free: 2.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.106e-05/0.1304, allocations: 122.2 kB / 0.5083 GB, free: 2.129 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.236e-05/0.1305, allocations: 66.08 kB / 0.5083 GB, free: 2.055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1306, allocations: 354.7 kB / 0.5087 GB, free: 1.699 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.1308, allocations: 92.58 kB / 0.5088 GB, free: 1.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.131, allocations: 141.7 kB / 0.5089 GB, free: 1.457 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003699/0.1314, allocations: 235.8 kB / 0.5091 GB, free: 1.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1314, allocations: 4 kB / 0.5091 GB, free: 1.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009057/0.1323, allocations: 417.2 kB / 0.5095 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1324, allocations: 12.03 kB / 0.5095 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.1324, allocations: 4 kB / 0.5095 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005663/0.1329, allocations: 116.7 kB / 0.5097 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.1334, allocations: 91.88 kB / 0.5097 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003351/0.1367, allocations: 3.336 MB / 0.513 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.137, allocations: 23.86 kB / 0.513 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.137, allocations: 12 kB / 0.513 GB, free: 12.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (36): * Single equations (assignments): 34 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.1372, allocations: 146.4 kB / 0.5132 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.079e-05/0.1373, allocations: 43.47 kB / 0.5132 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000505/0.1378, allocations: 305.9 kB / 0.5135 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1378, allocations: 4 kB / 0.5135 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1378, allocations: 3.938 kB / 0.5135 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.1378, allocations: 3.984 kB / 0.5135 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009771/0.1388, allocations: 0.745 MB / 0.5142 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1388, allocations: 3.938 kB / 0.5142 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003841/0.1392, allocations: 75.91 kB / 0.5143 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1392, allocations: 0 / 0.5143 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.1392, allocations: 15.98 kB / 0.5143 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1393, allocations: 4 kB / 0.5143 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1393, allocations: 0 / 0.5143 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006516/0.1399, allocations: 0.4957 MB / 0.5148 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.1401, allocations: 140.6 kB / 0.515 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/0.1401, allocations: 4.281 kB / 0.515 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.1403, allocations: 8 kB / 0.515 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.1404, allocations: 23.97 kB / 0.515 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.1404, allocations: 11.94 kB / 0.515 GB, free: 10.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002695/0.1407, allocations: 259.2 kB / 0.5153 GB, free: 10.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1407, allocations: 0 / 0.5153 GB, free: 10.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003738/0.1411, allocations: 88 kB / 0.5153 GB, free: 10.44 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y) * 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 (34): * Single equations (assignments): 34 * 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 0.0001026/0.1412, allocations: 103.2 kB / 0.5154 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009057/0.1421, allocations: 435.1 kB / 0.5158 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1421, allocations: 0 / 0.5158 GB, free: 9.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.1423, allocations: 127.7 kB / 0.516 GB, free: 9.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004865/0.1428, allocations: 89.53 kB / 0.5161 GB, free: 9.684 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.1446, allocations: 1.062 MB / 0.5171 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.1449, allocations: 0.8237 MB / 0.5179 GB, free: 7.746 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000155/0.1451, allocations: 34.97 kB / 0.5179 GB, free: 7.711 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.203e-05/0.1452, allocations: 31.42 kB / 0.518 GB, free: 7.68 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1452, allocations: 0 / 0.518 GB, free: 7.68 MB / 414.1 MB Notification: Performance of Templates: time 0.008868/0.1541, allocations: 4.619 MB / 0.5225 GB, free: 3.055 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1)