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.00155/0.00155, allocations: 180.6 kB / 16.38 MB, free: 5.766 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.511/1.511, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007829/0.0007829, allocations: 100.1 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3646/0.3646, allocations: 48.77 MB / 367.9 MB, free: 47.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000288/0.000288, allocations: 11.94 kB / 438.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1047, allocations: 60.24 MB / 498.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2934/0.3982, allocations: 86.55 MB / 0.5717 GB, free: 12.08 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.3985, allocations: 79.95 kB / 0.5718 GB, free: 12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009432/0.4079, allocations: 3.66 MB / 0.5754 GB, free: 8.395 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.408, allocations: 4 kB / 0.5754 GB, free: 8.391 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.408, allocations: 4 kB / 0.5754 GB, free: 8.387 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.0006903/0.4087, allocations: 0.4982 MB / 0.5759 GB, free: 7.844 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.4087, allocations: 14.22 kB / 0.5759 GB, free: 7.832 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.306e-05/0.4088, allocations: 31.62 kB / 0.5759 GB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.4092, allocations: 257.7 kB / 0.5762 GB, free: 7.512 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.4092, allocations: 12 kB / 0.5762 GB, free: 7.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.4092, allocations: 12 kB / 0.5762 GB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.4095, allocations: 162.9 kB / 0.5763 GB, free: 7.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.4095, allocations: 0 / 0.5763 GB, free: 7.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.4095, allocations: 7.984 kB / 0.5763 GB, free: 7.312 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.4096, allocations: 4 kB / 0.5763 GB, free: 7.309 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000229/0.4098, allocations: 111.8 kB / 0.5764 GB, free: 7.199 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008293/0.4106, allocations: 0.6109 MB / 0.577 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.4109, allocations: 139.3 kB / 0.5772 GB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.4109, allocations: 6.297 kB / 0.5772 GB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.4109, allocations: 30.56 kB / 0.5772 GB, free: 6.344 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 1.693e-06/0.4109, allocations: 0 / 0.5772 GB, free: 6.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.000959/0.4119, allocations: 0.5975 MB / 0.5778 GB, free: 5.691 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.984e-05/0.4119, allocations: 55.41 kB / 0.5779 GB, free: 5.625 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.4121, allocations: 200.2 kB / 0.578 GB, free: 5.426 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.4121, allocations: 29.7 kB / 0.5781 GB, free: 5.391 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.4122, allocations: 137.9 kB / 0.5782 GB, free: 5.254 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.4122, allocations: 67 kB / 0.5783 GB, free: 5.188 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-06/0.4122, allocations: 8 kB / 0.5783 GB, free: 5.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.681e-05/0.4123, allocations: 330.8 kB / 0.5786 GB, free: 4.848 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.4124, allocations: 51.97 kB / 0.5786 GB, free: 4.797 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.4125, allocations: 99.89 kB / 0.5787 GB, free: 4.695 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: $DER.generator.theta = generator.omega_e_nom (6.283185307179586 * grid.fnom = generator.omega_e_nom) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009239/0.4135, allocations: 323 kB / 0.579 GB, free: 4.363 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4135, allocations: 3.953 kB / 0.579 GB, free: 4.359 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003144/0.4138, allocations: 197.3 kB / 0.5792 GB, free: 4.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.4138, allocations: 7.953 kB / 0.5792 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4138, allocations: 0 / 0.5792 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.4139, allocations: 4.031 kB / 0.5792 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.4141, allocations: 67.89 kB / 0.5793 GB, free: 4.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.4142, allocations: 4 kB / 0.5793 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.4143, allocations: 7.828 kB / 0.5793 GB, free: 4.074 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.4143, allocations: 12 kB / 0.5793 GB, free: 4.062 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: $DER.generator.theta = generator.omega_e_nom. 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 0.0001308/0.4145, allocations: 131.3 kB / 0.5795 GB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.4145, allocations: 23.72 kB / 0.5795 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003371/0.4148, allocations: 205.1 kB / 0.5797 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.4149, allocations: 0 / 0.5797 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.4149, allocations: 3.953 kB / 0.5797 GB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.4149, allocations: 0 / 0.5797 GB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005956/0.4155, allocations: 0.5538 MB / 0.5802 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.4155, allocations: 3 kB / 0.5802 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.4158, allocations: 51.97 kB / 0.5803 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.4158, allocations: 0 / 0.5803 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.4158, allocations: 15.95 kB / 0.5803 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4158, allocations: 0 / 0.5803 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4158, allocations: 0 / 0.5803 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.4162, allocations: 359.1 kB / 0.5806 GB, free: 2.656 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/0.4163, allocations: 112.8 kB / 0.5807 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.4164, allocations: 4 kB / 0.5807 GB, free: 2.523 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.4165, allocations: 11.95 kB / 0.5808 GB, free: 2.512 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.4166, allocations: 15.97 kB / 0.5808 GB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.4166, allocations: 4 kB / 0.5808 GB, free: 2.492 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.4167, allocations: 164.5 kB / 0.5809 GB, free: 2.328 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4167, allocations: 0 / 0.5809 GB, free: 2.328 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002729/0.417, allocations: 55.94 kB / 0.581 GB, free: 2.273 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.000116/0.4171, allocations: 103.2 kB / 0.5811 GB, free: 2.164 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.4174, allocations: 152.7 kB / 0.5812 GB, free: 2.016 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4174, allocations: 0 / 0.5812 GB, free: 2.016 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.4176, allocations: 83.95 kB / 0.5813 GB, free: 1.934 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.4178, allocations: 31.38 kB / 0.5813 GB, free: 1.906 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009241/0.4188, allocations: 0.7026 MB / 0.582 GB, free: 1.184 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.4189, allocations: 0.744 MB / 0.5827 GB, free: 424 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.467e-05/0.419, allocations: 28.62 kB / 0.5828 GB, free: 396 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.218e-05/0.4191, allocations: 19.44 kB / 0.5828 GB, free: 376 kB / 394.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4191, allocations: 0 / 0.5828 GB, free: 376 kB / 394.7 MB Notification: Performance of Templates: time 0.004714/0.4238, allocations: 1.881 MB / 0.5846 GB, free: 14.52 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)