Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001449/0.001449, allocations: 180.8 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.274/1.274, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.000797/0.0007969, allocations: 85.28 kB / 270.8 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3641/0.3641, allocations: 48.77 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.000296, allocations: 8 kB / 438.6 MB, free: 11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1029, allocations: 60.26 MB / 498.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3044/0.4073, allocations: 86.8 MB / 0.572 GB, free: 11.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.4075, allocations: 76.83 kB / 0.572 GB, free: 11.79 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01413/0.4217, allocations: 5.479 MB / 0.5774 GB, free: 6.367 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.447e-06/0.4218, allocations: 0 / 0.5774 GB, free: 6.367 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.163e-05/0.4218, allocations: 12 kB / 0.5774 GB, free: 6.355 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0009896/0.4228, allocations: 0.6244 MB / 0.578 GB, free: 5.688 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.4228, allocations: 12.03 kB / 0.578 GB, free: 5.676 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.41e-05/0.4229, allocations: 35.53 kB / 0.578 GB, free: 5.641 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004262/0.4234, allocations: 321.7 kB / 0.5784 GB, free: 5.289 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.4234, allocations: 20.44 kB / 0.5784 GB, free: 5.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/0.4235, allocations: 27.91 kB / 0.5784 GB, free: 5.242 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/0.4238, allocations: 249.6 kB / 0.5786 GB, free: 4.988 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.4239, allocations: 0 / 0.5786 GB, free: 4.988 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.4239, allocations: 12 kB / 0.5787 GB, free: 4.977 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.4239, allocations: 7.953 kB / 0.5787 GB, free: 4.969 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003314/0.4242, allocations: 193.6 kB / 0.5788 GB, free: 4.781 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009438/0.4252, allocations: 0.8368 MB / 0.5797 GB, free: 3.879 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.4255, allocations: 215.4 kB / 0.5799 GB, free: 3.66 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.4255, allocations: 4 kB / 0.5799 GB, free: 3.656 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/0.4255, allocations: 38.55 kB / 0.5799 GB, free: 3.609 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 1.734e-06/0.4256, allocations: 0 / 0.5799 GB, free: 3.609 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001507/0.4271, allocations: 0.9183 MB / 0.5808 GB, free: 2.621 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.964e-05/0.4271, allocations: 55.64 kB / 0.5809 GB, free: 2.555 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.4273, allocations: 263.7 kB / 0.5811 GB, free: 2.293 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.4273, allocations: 34.45 kB / 0.5811 GB, free: 2.254 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.926e-05/0.4274, allocations: 180.6 kB / 0.5813 GB, free: 2.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.4275, allocations: 94.56 kB / 0.5814 GB, free: 1.977 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.4275, allocations: 8 kB / 0.5814 GB, free: 1.969 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.344e-05/0.4275, allocations: 346.8 kB / 0.5817 GB, free: 1.621 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.4277, allocations: 83.95 kB / 0.5818 GB, free: 1.539 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.4279, allocations: 120.1 kB / 0.5819 GB, free: 1.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.428, allocations: 93.39 kB / 0.582 GB, free: 1.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.428, allocations: 2.625 kB / 0.582 GB, free: 1.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006057/0.4287, allocations: 352.1 kB / 0.5824 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.4287, allocations: 4 kB / 0.5824 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4287, allocations: 7.953 kB / 0.5824 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003328/0.429, allocations: 76.86 kB / 0.5824 GB, free: 0.8789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.4294, allocations: 81.12 kB / 0.5825 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001292/0.4307, allocations: 1.946 MB / 0.5844 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.4309, allocations: 24.88 kB / 0.5844 GB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.4309, allocations: 4 kB / 0.5845 GB, free: 14.67 MB / 410.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 (28): * Single equations (assignments): 26 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.4311, allocations: 149.7 kB / 0.5846 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.4312, allocations: 31.62 kB / 0.5846 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005077/0.4317, allocations: 290.3 kB / 0.5849 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.4317, allocations: 4 kB / 0.5849 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.4317, allocations: 0 / 0.5849 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4317, allocations: 0 / 0.5849 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009922/0.4327, allocations: 0.7091 MB / 0.5856 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4327, allocations: 3.938 kB / 0.5856 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.4331, allocations: 79.89 kB / 0.5857 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.4331, allocations: 0 / 0.5857 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.4331, allocations: 8 kB / 0.5857 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4331, allocations: 0 / 0.5857 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.4331, allocations: 0 / 0.5857 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006655/0.4338, allocations: 482.8 kB / 0.5861 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.4339, allocations: 124.7 kB / 0.5863 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.543e-05/0.434, allocations: 4 kB / 0.5863 GB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.4342, allocations: 19.98 kB / 0.5863 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.4342, allocations: 23.97 kB / 0.5863 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.4343, allocations: 4 kB / 0.5863 GB, free: 12.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000207/0.4345, allocations: 215.1 kB / 0.5865 GB, free: 12.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4345, allocations: 0 / 0.5865 GB, free: 12.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000331/0.4348, allocations: 68 kB / 0.5866 GB, free: 12.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.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 (30): * Single equations (assignments): 30 * 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.0001405/0.435, allocations: 111.8 kB / 0.5867 GB, free: 12.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000679/0.4357, allocations: 264 kB / 0.5869 GB, free: 12.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4357, allocations: 4.125 kB / 0.5869 GB, free: 12.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002158/0.4359, allocations: 127.8 kB / 0.5871 GB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.4363, allocations: 49.58 kB / 0.5871 GB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.438, allocations: 1.118 MB / 0.5882 GB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003874/0.4384, allocations: 0.8029 MB / 0.589 GB, free: 9.879 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001394/0.4385, allocations: 34.89 kB / 0.589 GB, free: 9.844 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.596e-05/0.4386, allocations: 23.44 kB / 0.589 GB, free: 9.82 MB / 410.7 MB Notification: Performance of SimCode: time 6.72e-07/0.4386, allocations: 8 kB / 0.5891 GB, free: 9.812 MB / 410.7 MB Notification: Performance of Templates: time 0.006836/0.4455, allocations: 3.107 MB / 0.5921 GB, free: 6.746 MB / 410.7 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1)