Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 80.8 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 169.9 kB / 24.91 MB, free: 9.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8263/0.8263, allocations: 158.6 MB / 186.8 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1942/0.1942, allocations: 36.34 MB / 275.4 MB, free: 10.55 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 305.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036e-05/1.189e-05, allocations: 3.641 kB / 305.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.002654/0.002666, allocations: 2.334 MB / 307.5 MB, free: 12.54 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.003767, allocations: 0.661 MB / 308.2 MB, free: 12.08 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.003871, allocations: 8.281 kB / 308.2 MB, free: 12.08 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.003988, allocations: 32.39 kB / 308.2 MB, free: 12.05 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.004189, allocations: 84.08 kB / 308.3 MB, free: 12 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001465/0.004335, allocations: 63.06 kB / 308.4 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002669/0.004602, allocations: 301.5 kB / 308.7 MB, free: 11.8 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.004719, allocations: 52.16 kB / 308.7 MB, free: 11.78 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.004922, allocations: 161.2 kB / 308.9 MB, free: 11.71 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.005058, allocations: 86.75 kB / 309 MB, free: 11.69 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.005088, allocations: 18.69 kB / 309 MB, free: 11.69 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.753e-05/0.005156, allocations: 21.62 kB / 309 MB, free: 11.69 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.694e-05/0.005193, allocations: 53.12 kB / 309.1 MB, free: 11.65 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.329e-05/0.005256, allocations: 82.25 kB / 309.2 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.005459, allocations: 176 kB / 309.3 MB, free: 11.53 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.005461, allocations: 0 / 309.3 MB, free: 11.53 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005462, allocations: 1.094 kB / 309.3 MB, free: 11.53 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.005467, allocations: 0 / 309.3 MB, free: 11.53 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.000496/0.005963, allocations: 478.3 kB / 309.8 MB, free: 11.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.005992, allocations: 14.2 kB / 309.8 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.007e-05/0.006082, allocations: 32.09 kB / 309.8 MB, free: 11.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001779/0.00626, allocations: 198.4 kB / 310 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.251e-05/0.006303, allocations: 65.08 kB / 310.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.006328, allocations: 20.94 kB / 310.1 MB, free: 10.91 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.006503, allocations: 159.6 kB / 310.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.006513, allocations: 0.8906 kB / 310.3 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.006525, allocations: 9.812 kB / 310.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.006531, allocations: 5.125 kB / 310.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.353e-05/0.006615, allocations: 46.2 kB / 310.3 MB, free: 10.8 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004464/0.007061, allocations: 423.1 kB / 310.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.007223, allocations: 97.62 kB / 310.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.327e-05/0.007267, allocations: 44.11 kB / 310.9 MB, free: 10.44 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.007277, allocations: 2.688 kB / 310.9 MB, free: 10.44 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.007291, allocations: 34 kB / 310.9 MB, free: 10.4 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.007292, allocations: 4 kB / 310.9 MB, free: 10.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004479/0.00774, allocations: 325.3 kB / 311.2 MB, free: 10.2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.564e-05/0.007756, allocations: 54.67 kB / 311.3 MB, free: 10.14 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.007875, allocations: 216.6 kB / 311.5 MB, free: 10 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.007884, allocations: 31.39 kB / 311.5 MB, free: 9.965 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.007925, allocations: 133.4 kB / 311.7 MB, free: 9.848 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/0.007953, allocations: 72.02 kB / 311.7 MB, free: 9.789 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.007995, allocations: 44.92 kB / 311.8 MB, free: 9.758 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.623e-05/0.008031, allocations: 335 kB / 312.1 MB, free: 9.434 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.913e-05/0.00806, allocations: 21.34 kB / 312.1 MB, free: 9.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.074e-05/0.008101, allocations: 41.61 kB / 312.2 MB, free: 9.41 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.83e-05/0.008179, allocations: 81.84 kB / 312.2 MB, free: 9.379 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.00818, allocations: 0 / 312.2 MB, free: 9.379 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001152/0.008295, allocations: 107.9 kB / 312.4 MB, free: 9.344 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.008306, allocations: 7.531 kB / 312.4 MB, free: 9.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.008311, allocations: 2.375 kB / 312.4 MB, free: 9.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.008321, allocations: 2.031 kB / 312.4 MB, free: 9.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002976/0.008618, allocations: 110.1 kB / 312.5 MB, free: 9.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.836e-06/0.008621, allocations: 1.375 kB / 312.5 MB, free: 9.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.824e-05/0.00868, allocations: 13.94 kB / 312.5 MB, free: 9.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.008687, allocations: 2.75 kB / 312.5 MB, free: 9.32 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.578e-05/0.008743, allocations: 119.1 kB / 312.6 MB, free: 9.199 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.008774, allocations: 23.16 kB / 312.6 MB, free: 9.191 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.008805, allocations: 33.97 kB / 312.7 MB, free: 9.168 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.008808, allocations: 3.406 kB / 312.7 MB, free: 9.168 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.008811, allocations: 0 / 312.7 MB, free: 9.168 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.008814, allocations: 1.266 kB / 312.7 MB, free: 9.168 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.009093, allocations: 309.8 kB / 313 MB, free: 8.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.009095, allocations: 3.938 kB / 313 MB, free: 8.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.009308, allocations: 72.56 kB / 313 MB, free: 8.945 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.00931, allocations: 0 / 313 MB, free: 8.945 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.009319, allocations: 2.219 kB / 313 MB, free: 8.945 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.009321, allocations: 5.375 kB / 313.1 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.009322, allocations: 0 / 313.1 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.009491, allocations: 237.6 kB / 313.3 MB, free: 8.789 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.009528, allocations: 21.36 kB / 313.3 MB, free: 8.777 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.009546, allocations: 6.719 kB / 313.3 MB, free: 8.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.586e-05/0.009612, allocations: 8.812 kB / 313.3 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.009648, allocations: 10.94 kB / 313.3 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.009654, allocations: 6.594 kB / 313.3 MB, free: 8.766 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.584e-05/0.00971, allocations: 72.09 kB / 313.4 MB, free: 8.746 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00971, allocations: 0 / 313.4 MB, free: 8.746 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001559/0.009866, allocations: 51.53 kB / 313.5 MB, free: 8.734 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.725e-05/0.009923, allocations: 79.92 kB / 313.5 MB, free: 8.656 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.01004, allocations: 91.94 kB / 313.6 MB, free: 8.629 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.01004, allocations: 1.906 kB / 313.6 MB, free: 8.629 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.864e-05/0.01009, allocations: 48.66 kB / 313.7 MB, free: 8.613 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.01029, allocations: 49.36 kB / 313.7 MB, free: 8.598 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000791/0.01108, allocations: 0.5061 MB / 314.2 MB, free: 8.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.159e-05/0.01112, allocations: 85.67 kB / 314.3 MB, free: 8.195 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.581e-05/0.01119, allocations: 19.84 kB / 314.3 MB, free: 8.195 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.925e-05/0.01128, allocations: 85.23 kB / 314.4 MB, free: 8.145 MB / 282.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01128, allocations: 0 / 314.4 MB, free: 8.145 MB / 282.7 MB Notification: Performance of Templates: time 0.004184/0.01546, allocations: 2.261 MB / 316.7 MB, free: 7.387 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5784650216810405]