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.001232/0.001233, allocations: 176.4 kB / 17.4 MB, free: 4.426 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.27/1.27, allocations: 205.4 MB / 223.5 MB, free: 9.027 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.0007025/0.0007025, allocations: 85.48 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3657/0.3657, allocations: 48.77 MB / 368.9 MB, free: 47.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003346, allocations: 16 kB / 439.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1034, allocations: 60.25 MB / 0.4884 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2811/0.3845, allocations: 86.35 MB / 0.5727 GB, free: 12.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.3848, allocations: 75.83 kB / 0.5728 GB, free: 11.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007718/0.3925, allocations: 3.108 MB / 0.5758 GB, free: 8.891 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3926, allocations: 0 / 0.5758 GB, free: 8.891 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.3926, allocations: 4.188 kB / 0.5758 GB, free: 8.887 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005771/0.3932, allocations: 478.5 kB / 0.5763 GB, free: 8.371 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.3932, allocations: 8.031 kB / 0.5763 GB, free: 8.363 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.3933, allocations: 26.03 kB / 0.5763 GB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.3935, allocations: 258.1 kB / 0.5766 GB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3936, allocations: 8.375 kB / 0.5766 GB, free: 8.043 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.3936, allocations: 14.56 kB / 0.5766 GB, free: 8.031 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.3938, allocations: 135 kB / 0.5767 GB, free: 7.891 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3939, allocations: 4.188 kB / 0.5767 GB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3939, allocations: 7.938 kB / 0.5767 GB, free: 7.879 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.3939, allocations: 4 kB / 0.5767 GB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.3941, allocations: 83.88 kB / 0.5768 GB, free: 7.793 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005884/0.3946, allocations: 0.5425 MB / 0.5773 GB, free: 7.191 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.3948, allocations: 100.2 kB / 0.5774 GB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.321e-05/0.3949, allocations: 56.88 kB / 0.5775 GB, free: 7.027 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.3949, allocations: 3.938 kB / 0.5775 GB, free: 7.023 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.453e-05/0.395, allocations: 32.75 kB / 0.5775 GB, free: 6.984 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.395, allocations: 4 kB / 0.5775 GB, free: 6.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.000683/0.3957, allocations: 476.1 kB / 0.578 GB, free: 6.465 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.3957, allocations: 56.53 kB / 0.578 GB, free: 6.398 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.3958, allocations: 215.2 kB / 0.5782 GB, free: 6.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.3959, allocations: 25.7 kB / 0.5783 GB, free: 6.148 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.3959, allocations: 127.9 kB / 0.5784 GB, free: 6.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.3959, allocations: 43.36 kB / 0.5784 GB, free: 5.977 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.396, allocations: 8 kB / 0.5784 GB, free: 5.969 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.227e-05/0.396, allocations: 330.8 kB / 0.5788 GB, free: 5.637 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.496e-05/0.3961, allocations: 37.36 kB / 0.5788 GB, free: 5.602 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.492e-05/0.3962, allocations: 61.2 kB / 0.5789 GB, free: 5.535 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.3963, allocations: 106.5 kB / 0.579 GB, free: 5.422 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3963, allocations: 0 / 0.579 GB, free: 5.422 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002074/0.3966, allocations: 152.3 kB / 0.5791 GB, free: 5.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.3966, allocations: 4.844 kB / 0.5791 GB, free: 5.266 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3966, allocations: 4 kB / 0.5791 GB, free: 5.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3966, allocations: 11.98 kB / 0.5791 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.3968, allocations: 35.92 kB / 0.5792 GB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3968, allocations: 4 kB / 0.5792 GB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.639e-05/0.3969, allocations: 4 kB / 0.5792 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.3969, allocations: 8 kB / 0.5792 GB, free: 5.199 MB / 394.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 () * Number of clocked 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.866e-05/0.397, allocations: 121.8 kB / 0.5793 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.397, allocations: 23.7 kB / 0.5793 GB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.3973, allocations: 156.5 kB / 0.5795 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.3973, allocations: 3.984 kB / 0.5795 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3973, allocations: 0 / 0.5795 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3973, allocations: 4 kB / 0.5795 GB, free: 4.887 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000422/0.3977, allocations: 466.4 kB / 0.5799 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3977, allocations: 0 / 0.5799 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.3979, allocations: 39.86 kB / 0.5799 GB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3979, allocations: 3.984 kB / 0.58 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3979, allocations: 8 kB / 0.58 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3979, allocations: 0 / 0.58 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3979, allocations: 0 / 0.58 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.3982, allocations: 283.2 kB / 0.5802 GB, free: 4.031 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.3983, allocations: 104.9 kB / 0.5803 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.3983, allocations: 2.25 kB / 0.5803 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.3984, allocations: 8 kB / 0.5803 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.3985, allocations: 11.92 kB / 0.5804 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.3985, allocations: 4 kB / 0.5804 GB, free: 3.887 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.79e-05/0.3986, allocations: 155.9 kB / 0.5805 GB, free: 3.734 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3986, allocations: 8 kB / 0.5805 GB, free: 3.727 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002443/0.3989, allocations: 35.94 kB / 0.5805 GB, free: 3.691 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 (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.45e-05/0.399, allocations: 104.7 kB / 0.5806 GB, free: 3.582 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.3992, allocations: 101.4 kB / 0.5807 GB, free: 3.484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3992, allocations: 0 / 0.5807 GB, free: 3.484 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.954e-05/0.3993, allocations: 56.05 kB / 0.5808 GB, free: 3.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.3996, allocations: 41.08 kB / 0.5808 GB, free: 3.391 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007611/0.4004, allocations: 0.6234 MB / 0.5814 GB, free: 2.758 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.4006, allocations: 0.736 MB / 0.5822 GB, free: 1.996 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.065e-05/0.4006, allocations: 17.53 kB / 0.5822 GB, free: 1.977 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.4007, allocations: 15.44 kB / 0.5822 GB, free: 1.961 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4007, allocations: 0 / 0.5822 GB, free: 1.961 MB / 394.7 MB Notification: Performance of Templates: time 0.003473/0.4042, allocations: 1.509 MB / 0.5837 GB, free: 496 kB / 394.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)