Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.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.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001585/0.001585, allocations: 175 kB / 13.63 MB, free: 1.684 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.318/1.318, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0007683/0.0007683, allocations: 78.73 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2292/0.2292, allocations: 48.78 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.33e-05/2.333e-05, allocations: 4 kB / 432.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09512/0.09516, allocations: 60.25 MB / 492.7 MB, free: 4.379 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3219/0.4171, allocations: 88.56 MB / 0.5676 GB, free: 0.582 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.4174, allocations: 75.83 kB / 0.5677 GB, free: 0.543 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02064/0.438, allocations: 7.471 MB / 0.575 GB, free: 10.28 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.4381, allocations: 3.984 kB / 0.575 GB, free: 10.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.441e-05/0.4381, allocations: 12 kB / 0.575 GB, free: 10.26 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.0009296/0.4391, allocations: 0.6456 MB / 0.5757 GB, free: 9.598 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.4391, allocations: 8.031 kB / 0.5757 GB, free: 9.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.86e-05/0.4392, allocations: 59.52 kB / 0.5757 GB, free: 9.531 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005458/0.4398, allocations: 364.1 kB / 0.5761 GB, free: 9.168 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.4398, allocations: 22.91 kB / 0.5761 GB, free: 9.156 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.477e-05/0.4399, allocations: 44.95 kB / 0.5761 GB, free: 9.125 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004647/0.4404, allocations: 306.4 kB / 0.5764 GB, free: 8.898 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.4404, allocations: 4 kB / 0.5764 GB, free: 8.895 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.4404, allocations: 10.5 kB / 0.5764 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.4404, allocations: 8 kB / 0.5764 GB, free: 8.883 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.4408, allocations: 204 kB / 0.5766 GB, free: 8.746 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.4424, allocations: 1.176 MB / 0.5778 GB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.4428, allocations: 264.9 kB / 0.578 GB, free: 7.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.443, allocations: 125 kB / 0.5782 GB, free: 7.441 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.4431, allocations: 4.281 kB / 0.5782 GB, free: 7.438 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.4431, allocations: 34.84 kB / 0.5782 GB, free: 7.395 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 1.513e-06/0.4431, allocations: 0 / 0.5782 GB, free: 7.395 MB / 394.7 MB Notification: Performance of matching and sorting (n=36): time 0.001168/0.4443, allocations: 0.7775 MB / 0.579 GB, free: 6.711 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.4443, allocations: 55.41 kB / 0.579 GB, free: 6.645 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003494/0.4447, allocations: 327.5 kB / 0.5793 GB, free: 6.379 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.4447, allocations: 32.02 kB / 0.5794 GB, free: 6.348 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.4448, allocations: 226 kB / 0.5796 GB, free: 6.184 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.996e-05/0.4449, allocations: 131.9 kB / 0.5797 GB, free: 6.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.511e-05/0.4449, allocations: 7.438 kB / 0.5797 GB, free: 6.066 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4451, allocations: 348.7 kB / 0.58 GB, free: 5.734 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.4452, allocations: 91.81 kB / 0.5801 GB, free: 5.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.4454, allocations: 144.4 kB / 0.5803 GB, free: 5.559 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.4456, allocations: 107.8 kB / 0.5804 GB, free: 5.488 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4456, allocations: 0 / 0.5804 GB, free: 5.488 MB / 394.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004675/0.4461, allocations: 340.8 kB / 0.5807 GB, free: 5.227 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.4461, allocations: 8 kB / 0.5807 GB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.4461, allocations: 0 / 0.5807 GB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.4462, allocations: 4 kB / 0.5807 GB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007097/0.4469, allocations: 147.3 kB / 0.5808 GB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009772/0.4479, allocations: 1.341 MB / 0.5821 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.4481, allocations: 19.27 kB / 0.5822 GB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.4481, allocations: 11.44 kB / 0.5822 GB, free: 3.605 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.000102/0.4483, allocations: 127.3 kB / 0.5823 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-05/0.4483, allocations: 43.44 kB / 0.5823 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004846/0.4488, allocations: 315.3 kB / 0.5826 GB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.4488, allocations: 4 kB / 0.5826 GB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.4488, allocations: 3.953 kB / 0.5826 GB, free: 3.215 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.4489, allocations: 3.984 kB / 0.5827 GB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.4499, allocations: 0.7948 MB / 0.5834 GB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4499, allocations: 0 / 0.5834 GB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004295/0.4503, allocations: 87.27 kB / 0.5835 GB, free: 2.449 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.4503, allocations: 4 kB / 0.5835 GB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.4504, allocations: 10.52 kB / 0.5835 GB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.4504, allocations: 4 kB / 0.5835 GB, free: 2.438 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4504, allocations: 0 / 0.5835 GB, free: 2.438 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006175/0.451, allocations: 0.5179 MB / 0.584 GB, free: 2.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.4511, allocations: 135.8 kB / 0.5842 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/0.4512, allocations: 7.812 kB / 0.5842 GB, free: 1.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.4514, allocations: 19.88 kB / 0.5842 GB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.4515, allocations: 19.91 kB / 0.5842 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.4515, allocations: 8 kB / 0.5842 GB, free: 1.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002455/0.4518, allocations: 263.5 kB / 0.5845 GB, free: 1.637 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4518, allocations: 0 / 0.5845 GB, free: 1.637 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003409/0.4521, allocations: 91.31 kB / 0.5846 GB, free: 1.559 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y,secondaryController.powerOffset) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.0001523/0.4523, allocations: 119.1 kB / 0.5847 GB, free: 1.441 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004996/0.4528, allocations: 259.1 kB / 0.5849 GB, free: 1.254 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.4528, allocations: 3.938 kB / 0.5849 GB, free: 1.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.453, allocations: 133.5 kB / 0.585 GB, free: 1.156 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.4535, allocations: 76.06 kB / 0.5851 GB, free: 1.102 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.455, allocations: 0.9405 MB / 0.586 GB, free: 208 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.4555, allocations: 0.843 MB / 0.5869 GB, free: 15.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001866/0.4557, allocations: 47.42 kB / 0.5869 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.4558, allocations: 39.12 kB / 0.5869 GB, free: 15.25 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4558, allocations: 7.938 kB / 0.587 GB, free: 15.24 MB / 410.7 MB Notification: Performance of Templates: time 0.007665/0.4635, allocations: 3.862 MB / 0.5907 GB, free: 11.39 MB / 410.7 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1)