Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.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.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009733/0.0009732, allocations: 172.8 kB / 8.343 MB, free: 0.7422 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.347/1.347, allocations: 205.3 MB / 214.1 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007905/0.0007905, allocations: 90.22 kB / 262.1 MB, free: 1.617 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.265/0.265, allocations: 48.79 MB / 358.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.511e-05/1.514e-05, allocations: 4 kB / 425.3 MB, free: 22.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09956/0.09958, allocations: 60.26 MB / 485.6 MB, free: 10.01 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3429/0.4425, allocations: 85.56 MB / 0.5577 GB, free: 12.01 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001946/0.4428, allocations: 76.58 kB / 0.5578 GB, free: 11.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008001/0.4508, allocations: 3.049 MB / 0.5608 GB, free: 9.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4508, allocations: 0 / 0.5608 GB, free: 9.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.4508, allocations: 4 kB / 0.5608 GB, free: 9.426 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004405/0.4513, allocations: 436.1 kB / 0.5612 GB, free: 8.969 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.4513, allocations: 8.578 kB / 0.5612 GB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/0.4514, allocations: 27.67 kB / 0.5612 GB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.4517, allocations: 245.1 kB / 0.5615 GB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.4517, allocations: 4 kB / 0.5615 GB, free: 8.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.4517, allocations: 11.94 kB / 0.5615 GB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001266/0.4519, allocations: 64.48 kB / 0.5615 GB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.452, allocations: 116.9 kB / 0.5617 GB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4521, allocations: 0 / 0.5617 GB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.4521, allocations: 0 / 0.5617 GB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.4521, allocations: 7.953 kB / 0.5617 GB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.4527, allocations: 0.5069 MB / 0.5622 GB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.4528, allocations: 80.2 kB / 0.5622 GB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.699e-05/0.4529, allocations: 47.61 kB / 0.5623 GB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.4529, allocations: 0 / 0.5623 GB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.4529, allocations: 38.5 kB / 0.5623 GB, free: 7.844 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 9.21e-07/0.4529, allocations: 0 / 0.5623 GB, free: 7.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006228/0.4536, allocations: 393.4 kB / 0.5627 GB, free: 7.445 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.4536, allocations: 55.41 kB / 0.5627 GB, free: 7.379 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.4538, allocations: 171.7 kB / 0.5629 GB, free: 7.227 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.4538, allocations: 25.7 kB / 0.5629 GB, free: 7.195 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.453e-05/0.4539, allocations: 133.7 kB / 0.5631 GB, free: 7.082 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.4539, allocations: 46.03 kB / 0.5631 GB, free: 7.043 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-06/0.4539, allocations: 4.75 kB / 0.5631 GB, free: 7.039 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.942e-05/0.454, allocations: 325.8 kB / 0.5634 GB, free: 6.719 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.266e-05/0.454, allocations: 21.94 kB / 0.5634 GB, free: 6.707 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.897e-05/0.4541, allocations: 55.73 kB / 0.5635 GB, free: 6.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.521e-05/0.4542, allocations: 31.11 kB / 0.5635 GB, free: 6.641 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4542, allocations: 3.953 kB / 0.5635 GB, free: 6.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001792/0.4544, allocations: 132.5 kB / 0.5637 GB, free: 6.523 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.4544, allocations: 4 kB / 0.5637 GB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.4544, allocations: 7.938 kB / 0.5637 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.4544, allocations: 0 / 0.5637 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.4546, allocations: 47.97 kB / 0.5637 GB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.4546, allocations: 0 / 0.5637 GB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.839e-05/0.4547, allocations: 4 kB / 0.5637 GB, free: 6.461 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.4547, allocations: 4 kB / 0.5637 GB, free: 6.457 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 prepare postOptimizeDAE: time 6.184e-05/0.4548, allocations: 101 kB / 0.5638 GB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.4548, allocations: 19.77 kB / 0.5638 GB, free: 6.332 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.455, allocations: 123.6 kB / 0.564 GB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.4551, allocations: 4 kB / 0.564 GB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4551, allocations: 4 kB / 0.564 GB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.4551, allocations: 0 / 0.564 GB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/0.4555, allocations: 412.9 kB / 0.5644 GB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4555, allocations: 0 / 0.5644 GB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001699/0.4557, allocations: 31.92 kB / 0.5644 GB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.4557, allocations: 3.984 kB / 0.5644 GB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.4557, allocations: 4 kB / 0.5644 GB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.4557, allocations: 7.922 kB / 0.5644 GB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4557, allocations: 0 / 0.5644 GB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.456, allocations: 251.7 kB / 0.5646 GB, free: 5.559 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.355e-05/0.4561, allocations: 107.8 kB / 0.5647 GB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.4561, allocations: 0 / 0.5647 GB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.4562, allocations: 4 kB / 0.5647 GB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.4563, allocations: 11.98 kB / 0.5648 GB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.4563, allocations: 0 / 0.5648 GB, free: 5.426 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.265e-05/0.4564, allocations: 143.8 kB / 0.5649 GB, free: 5.309 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4564, allocations: 4 kB / 0.5649 GB, free: 5.305 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002477/0.4567, allocations: 39.92 kB / 0.5649 GB, free: 5.266 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.omega_e_filt) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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 9.974e-05/0.4568, allocations: 95.19 kB / 0.565 GB, free: 5.164 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001389/0.4569, allocations: 86.12 kB / 0.5651 GB, free: 5.102 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.4569, allocations: 0 / 0.5651 GB, free: 5.102 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.486e-05/0.457, allocations: 42.67 kB / 0.5651 GB, free: 5.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.4572, allocations: 26.3 kB / 0.5652 GB, free: 5.051 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006805/0.4579, allocations: 408.8 kB / 0.5656 GB, free: 4.648 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.4582, allocations: 0.7319 MB / 0.5663 GB, free: 3.891 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.735e-05/0.4583, allocations: 21.27 kB / 0.5663 GB, free: 3.871 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.4583, allocations: 15.44 kB / 0.5663 GB, free: 3.855 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4583, allocations: 4 kB / 0.5663 GB, free: 3.852 MB / 378.7 MB Notification: Performance of Templates: time 0.003406/0.4617, allocations: 1.383 MB / 0.5677 GB, free: 2.48 MB / 378.7 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1)