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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.000983/0.0009832, allocations: 181.4 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007634/0.0007633, allocations: 77.27 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4491/0.4491, allocations: 48.77 MB / 358.8 MB, free: 53.12 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.66e-05/1.662e-05, allocations: 4 kB / 425.3 MB, free: 8.23 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1176, allocations: 60.25 MB / 485.5 MB, free: 11.84 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.36/0.4777, allocations: 87.11 MB / 0.5592 GB, free: 14.03 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.478, allocations: 71.97 kB / 0.5593 GB, free: 13.96 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0193/0.4973, allocations: 6.86 MB / 0.566 GB, free: 7.152 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.4974, allocations: 0 / 0.566 GB, free: 7.152 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.736e-05/0.4974, allocations: 8 kB / 0.566 GB, free: 7.145 MB / 395.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.0009409/0.4984, allocations: 0.6226 MB / 0.5666 GB, free: 6.48 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.4984, allocations: 8.031 kB / 0.5666 GB, free: 6.473 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.119e-05/0.4985, allocations: 53.12 kB / 0.5667 GB, free: 6.422 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004917/0.499, allocations: 346.1 kB / 0.567 GB, free: 6.051 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.4991, allocations: 12 kB / 0.567 GB, free: 6.039 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.673e-05/0.4991, allocations: 24 kB / 0.567 GB, free: 6.016 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003078/0.4994, allocations: 170.9 kB / 0.5672 GB, free: 5.852 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003769/0.4998, allocations: 245.9 kB / 0.5674 GB, free: 5.598 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.4998, allocations: 0 / 0.5674 GB, free: 5.598 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.4999, allocations: 0 / 0.5674 GB, free: 5.598 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.4999, allocations: 11.95 kB / 0.5674 GB, free: 5.586 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.5015, allocations: 1.064 MB / 0.5685 GB, free: 4.469 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.5018, allocations: 233 kB / 0.5687 GB, free: 4.23 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.502, allocations: 100.8 kB / 0.5688 GB, free: 4.129 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.502, allocations: 4 kB / 0.5688 GB, free: 4.125 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.5021, allocations: 38.56 kB / 0.5688 GB, free: 4.078 MB / 395.1 MB Notification: Performance of pre-optimization done (n=32): time 1.362e-06/0.5021, allocations: 0 / 0.5688 GB, free: 4.078 MB / 395.1 MB Notification: Performance of matching and sorting (n=34): time 0.001179/0.5033, allocations: 0.6787 MB / 0.5695 GB, free: 3.344 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.5033, allocations: 55.41 kB / 0.5696 GB, free: 3.277 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.5036, allocations: 286.4 kB / 0.5698 GB, free: 2.992 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.5037, allocations: 25.7 kB / 0.5699 GB, free: 2.961 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.5038, allocations: 210.2 kB / 0.5701 GB, free: 2.75 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.456e-05/0.5039, allocations: 126.1 kB / 0.5702 GB, free: 2.625 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/0.5039, allocations: 0 / 0.5702 GB, free: 2.625 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.504, allocations: 350.8 kB / 0.5705 GB, free: 2.273 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.5042, allocations: 68.75 kB / 0.5706 GB, free: 2.203 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.5043, allocations: 125.4 kB / 0.5707 GB, free: 2.066 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.5045, allocations: 87.95 kB / 0.5708 GB, free: 1.98 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.5045, allocations: 0 / 0.5708 GB, free: 1.98 MB / 395.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008006/0.5053, allocations: 381 kB / 0.5711 GB, free: 1.598 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.5053, allocations: 4 kB / 0.5711 GB, free: 1.594 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.5054, allocations: 0 / 0.5711 GB, free: 1.594 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006185/0.506, allocations: 138 kB / 0.5713 GB, free: 1.457 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.5064, allocations: 93.31 kB / 0.5714 GB, free: 1.367 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.5079, allocations: 1.957 MB / 0.5733 GB, free: 15.27 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.5082, allocations: 9.828 kB / 0.5733 GB, free: 15.26 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.5082, allocations: 12 kB / 0.5733 GB, free: 15.25 MB / 411.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.5083, allocations: 115.5 kB / 0.5734 GB, free: 15.13 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.008e-05/0.5084, allocations: 36.84 kB / 0.5734 GB, free: 15.1 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004376/0.5088, allocations: 292.6 kB / 0.5737 GB, free: 14.81 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.5088, allocations: 4 kB / 0.5737 GB, free: 14.8 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.5088, allocations: 3.938 kB / 0.5737 GB, free: 14.8 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.5089, allocations: 3.984 kB / 0.5737 GB, free: 14.8 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009177/0.5098, allocations: 0.6748 MB / 0.5744 GB, free: 14.08 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5098, allocations: 0 / 0.5744 GB, free: 14.08 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.5102, allocations: 83.84 kB / 0.5745 GB, free: 14 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.5102, allocations: 0 / 0.5745 GB, free: 14 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.5102, allocations: 12 kB / 0.5745 GB, free: 13.98 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.5103, allocations: 0.875 kB / 0.5745 GB, free: 13.98 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5103, allocations: 0 / 0.5745 GB, free: 13.98 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005745/0.5108, allocations: 467.4 kB / 0.5749 GB, free: 13.51 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.511, allocations: 136.6 kB / 0.5751 GB, free: 13.36 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.511, allocations: 4.609 kB / 0.5751 GB, free: 13.36 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.5113, allocations: 7.984 kB / 0.5751 GB, free: 13.35 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.5113, allocations: 23.97 kB / 0.5751 GB, free: 13.32 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.5114, allocations: 10.06 kB / 0.5751 GB, free: 13.32 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002106/0.5116, allocations: 220.6 kB / 0.5753 GB, free: 13.11 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5116, allocations: 0 / 0.5753 GB, free: 13.11 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0003418/0.5119, allocations: 75.98 kB / 0.5754 GB, free: 13.03 MB / 411.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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.0001638/0.5121, allocations: 108.4 kB / 0.5755 GB, free: 12.92 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0006315/0.5127, allocations: 269.7 kB / 0.5758 GB, free: 12.66 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5128, allocations: 0 / 0.5758 GB, free: 12.66 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.5129, allocations: 123.7 kB / 0.5759 GB, free: 12.54 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.5134, allocations: 53.3 kB / 0.5759 GB, free: 12.48 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.5149, allocations: 0.8731 MB / 0.5768 GB, free: 11.6 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.5153, allocations: 0.8306 MB / 0.5776 GB, free: 10.74 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.5154, allocations: 39.27 kB / 0.5776 GB, free: 10.71 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.213e-05/0.5155, allocations: 35.42 kB / 0.5777 GB, free: 10.67 MB / 411.1 MB Notification: Performance of SimCode: time 2.61e-07/0.5155, allocations: 0 / 0.5777 GB, free: 10.67 MB / 411.1 MB Notification: Performance of Templates: time 0.00749/0.523, allocations: 3.595 MB / 0.5812 GB, free: 7.105 MB / 411.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)