Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.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.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009245/0.0009245, allocations: 176.2 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.32/1.32, allocations: 205.4 MB / 223.5 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007794/0.0007794, allocations: 90.3 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3632/0.3632, allocations: 48.77 MB / 368.9 MB, free: 47.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003514, allocations: 12 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.104, allocations: 60.26 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.27/0.3741, allocations: 86.59 MB / 0.573 GB, free: 11.74 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.3744, allocations: 73.27 kB / 0.573 GB, free: 11.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009157/0.3835, allocations: 3.669 MB / 0.5766 GB, free: 8.059 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3836, allocations: 4 kB / 0.5766 GB, free: 8.055 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.3836, allocations: 4 kB / 0.5766 GB, free: 8.051 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0005963/0.3842, allocations: 0.5023 MB / 0.5771 GB, free: 7.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.3842, allocations: 10.22 kB / 0.5771 GB, free: 7.492 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.3843, allocations: 28.56 kB / 0.5772 GB, free: 7.465 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.3846, allocations: 262.8 kB / 0.5774 GB, free: 7.172 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.3846, allocations: 8.375 kB / 0.5774 GB, free: 7.164 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.436e-05/0.3846, allocations: 24.36 kB / 0.5774 GB, free: 7.141 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.3849, allocations: 166.2 kB / 0.5776 GB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.3849, allocations: 192 / 0.5776 GB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.3849, allocations: 7.938 kB / 0.5776 GB, free: 6.961 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.385, allocations: 4 kB / 0.5776 GB, free: 6.957 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002174/0.3852, allocations: 107.9 kB / 0.5777 GB, free: 6.852 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000675/0.3859, allocations: 0.6031 MB / 0.5783 GB, free: 6.191 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.3861, allocations: 143.1 kB / 0.5784 GB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.3863, allocations: 79.67 kB / 0.5785 GB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.3863, allocations: 3.984 kB / 0.5785 GB, free: 5.961 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.634e-05/0.3863, allocations: 39.92 kB / 0.5786 GB, free: 5.914 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.3863, allocations: 4 kB / 0.5786 GB, free: 5.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.000907/0.3872, allocations: 0.5958 MB / 0.5791 GB, free: 5.266 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.91e-05/0.3873, allocations: 51.41 kB / 0.5792 GB, free: 5.203 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.3874, allocations: 225 kB / 0.5794 GB, free: 4.977 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.3875, allocations: 29.7 kB / 0.5794 GB, free: 4.941 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.3875, allocations: 140.4 kB / 0.5796 GB, free: 4.801 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.3875, allocations: 67 kB / 0.5796 GB, free: 4.734 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/0.3876, allocations: 4 kB / 0.5796 GB, free: 4.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.658e-05/0.3876, allocations: 334.8 kB / 0.58 GB, free: 4.395 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.3877, allocations: 55.97 kB / 0.58 GB, free: 4.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.3879, allocations: 91.78 kB / 0.5801 GB, free: 4.246 MB / 394.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: grid.f = grid.fnom (0.1591549430918953 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.389, allocations: 467.4 kB / 0.5805 GB, free: 3.766 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.389, allocations: 0 / 0.5805 GB, free: 3.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003011/0.3893, allocations: 206.6 kB / 0.5807 GB, free: 3.559 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.3893, allocations: 4 kB / 0.5807 GB, free: 3.555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3893, allocations: 0 / 0.5807 GB, free: 3.555 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3893, allocations: 8.031 kB / 0.5808 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.3896, allocations: 64.33 kB / 0.5808 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3896, allocations: 0 / 0.5808 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.3897, allocations: 17.31 kB / 0.5808 GB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.3897, allocations: 6.812 kB / 0.5808 GB, free: 3.465 MB / 394.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: grid.f = grid.fnom. 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 (24): * Single equations (assignments): 24 * 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 8.676e-05/0.3898, allocations: 137.7 kB / 0.581 GB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.3899, allocations: 27.72 kB / 0.581 GB, free: 3.293 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003189/0.3902, allocations: 202 kB / 0.5812 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.3902, allocations: 0 / 0.5812 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3902, allocations: 4 kB / 0.5812 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3902, allocations: 3.938 kB / 0.5812 GB, free: 3.086 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000573/0.3908, allocations: 0.5413 MB / 0.5817 GB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3908, allocations: 1.5 kB / 0.5817 GB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002616/0.3911, allocations: 51.97 kB / 0.5818 GB, free: 2.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3911, allocations: 11.88 kB / 0.5818 GB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.3911, allocations: 8 kB / 0.5818 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3912, allocations: 0 / 0.5818 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3912, allocations: 0 / 0.5818 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004229/0.3916, allocations: 363.8 kB / 0.5821 GB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.627e-05/0.3917, allocations: 108.8 kB / 0.5822 GB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.3917, allocations: 7.938 kB / 0.5823 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.3918, allocations: 4 kB / 0.5823 GB, free: 1.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.3919, allocations: 20.11 kB / 0.5823 GB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.3919, allocations: 7.062 kB / 0.5823 GB, free: 1.887 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001073/0.392, allocations: 164.5 kB / 0.5824 GB, free: 1.723 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.392, allocations: 0 / 0.5824 GB, free: 1.723 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000276/0.3923, allocations: 55.94 kB / 0.5825 GB, free: 1.668 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0001048/0.3924, allocations: 107.7 kB / 0.5826 GB, free: 1.555 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002989/0.3927, allocations: 156 kB / 0.5827 GB, free: 1.402 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3927, allocations: 64 / 0.5827 GB, free: 1.402 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.3929, allocations: 83.89 kB / 0.5828 GB, free: 1.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.3932, allocations: 35.89 kB / 0.5829 GB, free: 1.289 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008716/0.3941, allocations: 0.6974 MB / 0.5835 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.3943, allocations: 0.7401 MB / 0.5843 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000107/0.3944, allocations: 21.94 kB / 0.5843 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.3945, allocations: 19.44 kB / 0.5843 GB, free: 15.77 MB / 410.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3945, allocations: 0 / 0.5843 GB, free: 15.77 MB / 410.7 MB Notification: Performance of Templates: time 0.004541/0.3991, allocations: 1.898 MB / 0.5862 GB, free: 13.9 MB / 410.7 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1)