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.00191/0.00191, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001309/0.001309, allocations: 195.4 kB / 18.52 MB, free: 4.637 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.446/1.446, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3041/0.3041, allocations: 48.85 MB / 320.6 MB, free: 11.08 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.002165/0.002165, allocations: 64.38 kB / 390.7 MB, free: 48.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08921/0.09139, allocations: 59.16 MB / 449.9 MB, free: 9.77 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.004583/0.09602, allocations: 2.962 MB / 452.9 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.09759, allocations: 0.8112 MB / 453.7 MB, free: 5.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001608/0.09776, allocations: 7.938 kB / 453.7 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.09799, allocations: 63.31 kB / 453.7 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.09834, allocations: 138.8 kB / 453.9 MB, free: 5.754 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.0986, allocations: 111.8 kB / 454 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005131/0.09912, allocations: 486.4 kB / 454.5 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002492/0.09938, allocations: 136.4 kB / 454.6 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.09963, allocations: 195.2 kB / 454.8 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.09991, allocations: 203 kB / 455 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.882e-05/0.09997, allocations: 32 kB / 455 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.1001, allocations: 43.98 kB / 455.1 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.181e-05/0.1002, allocations: 83.62 kB / 455.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.1004, allocations: 218.7 kB / 455.4 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004424/0.1009, allocations: 394.4 kB / 455.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1009, allocations: 0 / 455.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1009, allocations: 4 kB / 455.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1009, allocations: 7.938 kB / 455.8 MB, free: 3.875 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001322/0.1022, allocations: 0.7516 MB / 456.5 MB, free: 3.074 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1023, allocations: 8.031 kB / 456.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.1024, allocations: 52.38 kB / 456.6 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004485/0.1029, allocations: 346.1 kB / 456.9 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.1029, allocations: 25.03 kB / 456.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.8e-05/0.103, allocations: 40.28 kB / 457 MB, free: 2.574 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/0.1035, allocations: 301.7 kB / 457.3 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1035, allocations: 3.984 kB / 457.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.1036, allocations: 19.94 kB / 457.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1036, allocations: 7.938 kB / 457.3 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.104, allocations: 202.1 kB / 457.5 MB, free: 2.031 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.1057, allocations: 1.112 MB / 458.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/0.1061, allocations: 239 kB / 458.8 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.1064, allocations: 120.8 kB / 459 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1064, allocations: 4 kB / 459 MB, free: 492 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1064, allocations: 38.56 kB / 459 MB, free: 444 kB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.1064, allocations: 0 / 459 MB, free: 444 kB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.001854/0.1083, allocations: 0.9372 MB / 459.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.1084, allocations: 55.41 kB / 460 MB, free: 15.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003889/0.1088, allocations: 353.7 kB / 460.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.1088, allocations: 33.7 kB / 460.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.109, allocations: 216.3 kB / 460.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.1091, allocations: 118.2 kB / 460.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.952e-05/0.1092, allocations: 66.08 kB / 460.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1094, allocations: 354.7 kB / 461.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.1095, allocations: 88.64 kB / 461.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.1098, allocations: 133.7 kB / 461.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.1102, allocations: 236 kB / 461.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1102, allocations: 4 kB / 461.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009454/0.1111, allocations: 425 kB / 462 MB, free: 13.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1111, allocations: 4 kB / 462 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1112, allocations: 0 / 462 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006038/0.1118, allocations: 124.8 kB / 462.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004545/0.1122, allocations: 99.88 kB / 462.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003532/0.1158, allocations: 3.336 MB / 465.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002537/0.116, allocations: 15.92 kB / 465.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.1161, allocations: 12 kB / 465.6 MB, free: 9.43 MB / 350.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.0001893/0.1163, allocations: 153.6 kB / 465.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.618e-05/0.1164, allocations: 51.5 kB / 465.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005212/0.1169, allocations: 298 kB / 466 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1169, allocations: 4 kB / 466 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1169, allocations: 7.922 kB / 466.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.1169, allocations: 3.984 kB / 466.1 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.118, allocations: 0.7405 MB / 466.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.118, allocations: 3.938 kB / 466.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003939/0.1184, allocations: 83.91 kB / 466.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.1184, allocations: 3.984 kB / 466.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.1185, allocations: 4 kB / 466.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.1185, allocations: 4 kB / 466.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1185, allocations: 0 / 466.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007016/0.1192, allocations: 0.4947 MB / 467.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.1193, allocations: 128.6 kB / 467.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.362e-05/0.1194, allocations: 12 kB / 467.5 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.1196, allocations: 12 kB / 467.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.1197, allocations: 15.97 kB / 467.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.1197, allocations: 12 kB / 467.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002742/0.12, allocations: 255.2 kB / 467.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.12, allocations: 0 / 467.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004008/0.1204, allocations: 88 kB / 467.9 MB, free: 6.969 MB / 350.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.0001096/0.1205, allocations: 107.2 kB / 468 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001055/0.1216, allocations: 442.5 kB / 468.4 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1216, allocations: 0 / 468.4 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.1218, allocations: 127.8 kB / 468.6 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005749/0.1224, allocations: 87.03 kB / 468.7 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.1245, allocations: 1.088 MB / 469.7 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/0.1249, allocations: 0.8113 MB / 470.6 MB, free: 4.242 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.812e-05/0.1251, allocations: 31.42 kB / 470.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1251, allocations: 0 / 470.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of Templates: time 0.008514/0.1336, allocations: 5.74 MB / 476.3 MB, free: 14.46 MB / 366.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)